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 05787f9 commit dc946dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metalearners/drlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,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 @@ -234,7 +234,7 @@ def evaluate(
model_kind=PROPENSITY_MODEL,
is_oos=is_oos,
oos_method=oos_method,
is_treatment=False,
is_treatment_model=False,
)

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

return variant_outcome_evaluation | propensity_evaluation | treatment_evaluation
Expand Down

0 comments on commit dc946dc

Please sign in to comment.