File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ SGD fits a linear model to the training data. The member ``coef_`` holds
7878the model parameters::
7979
8080 >>> clf.coef_
81- array([[ 9.90090187 , 9.90090187 ]])
81+ array([[ 9.91080278 , 9.91080278 ]])
8282
8383Member ``intercept_ `` holds the intercept (aka offset or bias)::
8484
@@ -91,7 +91,7 @@ hyperplane, is controlled by the parameter ``fit_intercept``.
9191To get the signed distance to the hyperplane use :meth: `SGDClassifier.decision_function `::
9292
9393 >>> clf.decision_function([[2., 2.]])
94- array([ 29.61357756 ])
94+ array([ 29.65318117 ])
9595
9696The concrete loss function can be set via the ``loss ``
9797parameter. :class: `SGDClassifier ` supports the following loss functions:
@@ -112,7 +112,7 @@ In the case of binary classification and ``loss="log"`` or
112112
113113 >>> clf = SGDClassifier(loss="log").fit(X, y)
114114 >>> clf.predict_proba([[1., 1.]])
115- array([[ 0.00000051 , 0.99999949 ]])
115+ array([[ 0.0000005 , 0.9999995 ]])
116116
117117The concrete penalty can be set via the ``penalty `` parameter.
118118SGD supports the following penalties:
You can’t perform that action at this time.
0 commit comments