Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 10, 2024
1 parent cf4add5 commit 21a2870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_learner.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,8 +706,8 @@ def test_validate_treatment_error_different_instantiation(metalearner_prefix):
)
def test_validate_outcome_multi_class(metalearner_prefix, success):
covariates = np.zeros((20, 1))
w = np.array([0, 1] * 10)
y = np.array([0, 1] * 8 + [2] * 4)
w = np.array([0] * 10 + [1] * 10)
y = np.array([0, 1, 2, 3, 4] * 4)

factory = metalearner_factory(metalearner_prefix)
learner = factory(
Expand Down

0 comments on commit 21a2870

Please sign in to comment.