diff --git a/metalearners/drlearner.py b/metalearners/drlearner.py index 40e8a09..1df7291 100644 --- a/metalearners/drlearner.py +++ b/metalearners/drlearner.py @@ -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)],