Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit aa21650

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

File tree

1 file changed

+2
-7
lines changed
Filter options

1 file changed

+2
-7
lines changed

‎sklearn/model_selection/_classification_threshold.py

Copy file name to clipboardExpand all lines: sklearn/model_selection/_classification_threshold.py
+2-7
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.