Skip to content

Commit bf8c57f

Browse files
authored
DOC properly close parenthesis in formula (scikit-learn#16734)
1 parent 75d3f29 commit bf8c57f

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
@@ -371,7 +371,7 @@ Different choices for :math:`L` entail different classifiers or regressors:
371371
:math:`L(y_i, f(x_i)) = \log(1 + \exp (-y_i f(x_i)))`.
372372
- Least-Squares: Linear regression (Ridge or Lasso depending on
373373
:math:`R`).
374-
:math:`L(y_i, f(x_i)) = \frac{1}{2}(y_i - f(x_i)^2`.
374+
:math:`L(y_i, f(x_i)) = \frac{1}{2}(y_i - f(x_i))^2`.
375375
- Huber: less sensitive to outliers than least-squares. It is equivalent to
376376
least squares when :math:`|y_i - f(x_i)| \leq \varepsilon`, and
377377
:math:`L(y_i, f(x_i)) = \varepsilon |y_i - f(x_i)| - \frac{1}{2}

0 commit comments

Comments
 (0)