Skip to content

DOC Remove old section _fit_and_score_over_thresholds #31339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions sklearn/model_selection/_classification_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,13 +444,8 @@ def _fit_and_score_over_thresholds(
curve_scorer : scorer instance
The scorer taking `classifier` and the validation set as input and outputting
decision thresholds and scores as a curve. Note that this is different from
the usual scorer that output a single score value:

* when `score_method` is one of the four constraint metrics, the curve scorer
will output a curve of two scores parametrized by the decision threshold, e.g.
TPR/TNR or precision/recall curves for each threshold;
* otherwise, the curve scorer will output a single score value for each
threshold.
the usual scorer that outputs a single score value as `curve_scorer`
outputs a single score value for each threshold.

score_params : dict
Parameters to pass to the `score` method of the underlying scorer.
Expand Down