Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC authored Jun 24, 2024
1 parent 9d2bbb9 commit c4de4f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metalearners/xlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def evaluate(
model_kind=VARIANT_OUTCOME_MODEL,
is_oos=is_oos,
oos_method=oos_method,
is_treatment=False,
is_treatment_model=False,
)

propensity_evaluation = _evaluate_model_kind(
Expand All @@ -310,7 +310,7 @@ def evaluate(
model_kind=PROPENSITY_MODEL,
is_oos=is_oos,
oos_method=oos_method,
is_treatment=False,
is_treatment_model=False,
)

imputed_te_control: list[np.ndarray] = []
Expand All @@ -330,7 +330,7 @@ def evaluate(
model_kind=TREATMENT_EFFECT_MODEL,
is_oos=is_oos,
oos_method=oos_method,
is_treatment=True,
is_treatment_model=True,
)

te_control_evaluation = _evaluate_model_kind(
Expand All @@ -341,7 +341,7 @@ def evaluate(
model_kind=CONTROL_EFFECT_MODEL,
is_oos=is_oos,
oos_method=oos_method,
is_treatment=True,
is_treatment_model=True,
)

return (
Expand Down

0 comments on commit c4de4f1

Please sign in to comment.