Skip to content

Commit aa21650

Browse files
authored
DOC Remove old section _fit_and_score_over_thresholds (scikit-learn#31339)
1 parent fec2fe6 commit aa21650

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

sklearn/model_selection/_classification_threshold.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -444,13 +444,8 @@ def _fit_and_score_over_thresholds(
444444
curve_scorer : scorer instance
445445
The scorer taking `classifier` and the validation set as input and outputting
446446
decision thresholds and scores as a curve. Note that this is different from
447-
the usual scorer that output a single score value:
448-
449-
* when `score_method` is one of the four constraint metrics, the curve scorer
450-
will output a curve of two scores parametrized by the decision threshold, e.g.
451-
TPR/TNR or precision/recall curves for each threshold;
452-
* otherwise, the curve scorer will output a single score value for each
453-
threshold.
447+
the usual scorer that outputs a single score value as `curve_scorer`
448+
outputs a single score value for each threshold.
454449
455450
score_params : dict
456451
Parameters to pass to the `score` method of the underlying scorer.

0 commit comments

Comments
 (0)