8000 DOC Update default values CalibratedClassifierCV docstring (#17494) · jayzed82/scikit-learn@a8cce5a · GitHub
[go: up one dir, main page]

Skip to content

Commit a8cce5a

Browse files
asubramaniyanthomasjpfan
authored andcommitted
DOC Update default values CalibratedClassifierCV docstring (scikit-learn#17494)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
1 parent fe8eedf commit a8cce5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sklearn/calibration.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,15 @@ class CalibratedClassifierCV(BaseEstimator, ClassifierMixin,
5656
The classifier whose output need to be calibrated to provide more
5757
accurate `predict_proba` outputs.
5858
59-
method : 'sigmoid' or 'isotonic'
59+
method : {'sigmoid', 'isotonic'}, default='sigmoid'
6060
The method to use for calibration. Can be 'sigmoid' which
6161
corresponds to Platt's method (i.e. a logistic regression model) or
6262
'isotonic' which is a non-parametric approach. It is not advised to
6363
use isotonic calibration with too few calibration samples
6464
``(<<1000)`` since it tends to overfit.
6565
66-
cv : integer, cross-validation generator, iterable or "prefit", optional
66+
cv : integer, cross-validation generator, iterable or "prefit", \
67+
default=None
6768
Determines the cross-validation splitting strategy.
6869
Possible inputs for cv are:
6970

0 commit comments

Comments
 (0)
0