8000 DOC fix modified Huber loss in user guide (#27553) · jeremiedbb/scikit-learn@24f4a34 · GitHub
[go: up one dir, main page]

Skip to content

Commit 24f4a34

Browse files
authored
DOC fix modified Huber loss in user guide (scikit-learn#27553)
1 parent 3076f29 commit 24f4a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/sgd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Different choices for :math:`L` entail different classifiers or regressors:
428428
:math:`L(y_i, f(x_i)) = \max(0, - y_i f(x_i))`.
429429
- Modified Huber:
430430
:math:`L(y_i, f(x_i)) = \max(0, 1 - y_i f(x_i))^2` if :math:`y_i f(x_i) >
431-
1`, and :math:`L(y_i, f(x_i)) = -4 y_i f(x_i)` otherwise.
431+
-1`, and :math:`L(y_i, f(x_i)) = -4 y_i f(x_i)` otherwise.
432432
- Log Loss: equivalent to Logistic Regression.
433433
:math:`L(y_i, f(x_i)) = \log(1 + \exp (-y_i f(x_i)))`.
434434
- Squared Error: Linear regression (Ridge or Lasso depending on

0 commit comments

Comments
 (0)
0