Skip to content

Commit 4d9a67f

Browse files
committed
DOC Comment on thresholds[0] for roc_curve
1 parent feb6eb1 commit 4d9a67f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/metrics/metrics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,8 @@ class or confidence values.
845845
846846
thresholds : array, shape = [n_thresholds]
847847
Decreasing thresholds on the decision function used to compute
848-
fpr and tpr.
848+
fpr and tpr. `thresholds[0]` represents no instances being predicted
849+
and is arbitrarily set to `max(y_score) + 1`.
849850
850851
See also
851852
--------

0 commit comments

Comments
 (0)