10000 DOC Specify the meaning of scoring=None in sklearn.metrics.check_scoring by karen-pal · Pull Request #20367 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Specify the meaning of scoring=None in sklearn.metrics.check_scoring #20367

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
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
1 change: 1 addition & 0 deletions sklearn/metrics/_scorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ def check_scoring(estimator, scoring=None, *, allow_none=False):
A string (see model evaluation documentation) or
a scorer callable object / function with signature
``scorer(estimator, X, y)``.
If None, the provided estimator object's `score` method is used.

allow_none : bool, default=False
If no scoring is specified and the estimator has no score function, we
Expand Down
0