We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2b443 commit ebb0645Copy full SHA for ebb0645
sklearn/linear_model/stochastic_gradient.py
@@ -734,7 +734,10 @@ def predict_proba(self):
734
Elkan.
735
736
Binary probability estimates for loss="modified_huber" are given by
737
- (clip(decision_function(X), -1, 1) + 1) / 2.
+ (clip(decision_function(X), -1, 1) + 1) / 2. For other loss functions
738
+ it is necessary to perform proper probability calibration by wrapping
739
+ the classifier with
740
+ :class:`sklearn.calibration.CalibratedClassifierCV` instead.
741
742
Parameters
743
----------
0 commit comments