8000 DOC Specify the meaning of scoring=None in sklearn.metrics.check_scor… · samronsin/scikit-learn@1c8396c · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c8396c

Browse files
karen-palsamronsin
authored andcommitted
DOC Specify the meaning of scoring=None in sklearn.metrics.check_scoring (scikit-learn#20367)
1 parent 657b607 commit 1c8396c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sklearn/metrics/_scorer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ def check_scoring(estimator, scoring=None, *, allow_none=False):
432432
A string (see model evaluation documentation) or
433433
a scorer callable object / function with signature
434434
``scorer(estimator, X, y)``.
435+
If None, the provided estimator object's `score` method is used.
435436
436437
allow_none : bool, default=False
437438
If no scoring is specified and the estimator has no score function, we

0 commit comments

Comments
 (0)
0