Skip to content

Commit ec91b15

Browse files
committed
fix correct predict method assignment for binary outcome in PLR
1 parent 7595fdb commit ec91b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doubleml/plm/plr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def __init__(
121121

122122
if ml_l_is_classifier:
123123
if obj_dml_data.binary_outcome:
124-
self._predict_method = {"ml_g": "predict_proba"}
124+
self._predict_method = {"ml_l": "predict_proba"}
125125
warnings.warn(
126126
f"The ml_l learner {str(ml_l)} was identified as classifier. Fitting an additive probability model."
127127
)

0 commit comments

Comments
 (0)