-
-
Notifications
You must be signed in to change notification settings - Fork 26.1k
Closed
Description
data_binary
fixture in test_roc_curve_display.py
, which uses the iris dataset:
scikit-learn/sklearn/metrics/_plot/tests/test_roc_curve_display.py
Lines 28 to 30 in af7df5c
def data_binary(data): | |
X, y = data | |
return X[y < 2], y[y < 2] |
always gives a AUC value of 1.0 (with and without drop_intermediate
). Should we consider using more complex data?
Noticed in #30399 (comment)
cc @glemaitre
ogrisel
Metadata
Metadata
Assignees
Labels
No labels