8000 DOC: Fix the documentation of scoring LogisticCV (#8099) · scikit-learn/scikit-learn@b8450c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit b8450c8

Browse files
GaelVaroquauxjnothman
authored andcommitted
DOC: Fix the documentation of scoring LogisticCV (#8099)
1 parent 83c92a1 commit b8450c8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

sklearn/linear_model/logistic.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,10 +1369,13 @@ class LogisticRegressionCV(LogisticRegression, BaseEstimator,
13691369
l2 penalty with liblinear solver. Prefer dual=False when
13701370
n_samples > n_features.
13711371
1372-
scoring : callabale
1373-
Scoring function to use as cross-validation criteria. For a list of
1374-
scoring functions that can be used, look at :mod:`sklearn.metrics`.
1375-
The default scoring option used is accuracy_score.
1372+
scoring : string, callable, or None
1373+
A string (see model evaluation documentation) or
1374+
a scorer callable object / function with signature
1375+
``scorer(estimator, X, y)``. For a list of scoring functions
1376+
that can be used, look at :mod:`sklearn.metrics`. The
1377+
default scoring option used is accuracy_score.
1378+
13761379
13771380
solver : {'newton-cg', 'lbfgs', 'liblinear', 'sag'}
13781381
Algorithm to use in the optimization problem.

0 commit comments

Comments
 (0)
0