Skip to content

Commit

Permalink
fix plot_instance_hardness_cv.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fritshermans committed Feb 1, 2025
1 parent 4b12063 commit 0e98d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cross_validation/plot_instance_hardness_cv.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def strategy(y):

# %%
ih_cv = InstanceHardnessCV(n_splits=5, random_state=10)
ih_result = cross_validate(clf, X, y, cv=ih_cv)
ih_result = cross_validate(clf, X, y, cv=ih_cv, scoring="average_precision")

# %%
# The boxplot below shows that the `InstanceHardnessCV` splitter results
Expand Down

0 comments on commit 0e98d1f

Please sign in to comment.