Skip to content

Commit

Permalink
Update metalearners/drlearner.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Klein <[email protected]>
  • Loading branch information
FrancescMartiEscofetQC and kklein authored Jun 24, 2024
1 parent c4de4f1 commit 7fa8794
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions metalearners/drlearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ def evaluate(
) -> dict[str, float]:
safe_scoring = self._scoring(scoring)

masks = []
for tv in range(self.n_variants):
masks.append(w == tv)
variant_outcome_evaluation = _evaluate_model_kind(
cfes=self._nuisance_models[VARIANT_OUTCOME_MODEL],
Xs=[X[w == tv] for tv in range(self.n_variants)],
Expand Down

0 comments on commit 7fa8794

Please sign in to comment.