Skip to content

Commit

Permalink
Fix typo in documentation (scikit-learn#8600)
Browse files Browse the repository at this point in the history
x_i should be in R^m (as n is the number of features)
  • Loading branch information
scooler authored and herilalaina committed Mar 26, 2017
1 parent 6d227fe commit 196491a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/modules/sgd.rst
Expand Up @@ -279,7 +279,7 @@ Mathematical formulation
========================

Given a set of training examples :math:`(x_1, y_1), \ldots, (x_n, y_n)` where
:math:`x_i \in \mathbf{R}^n` and :math:`y_i \in \{-1,1\}`, our goal is to
:math:`x_i \in \mathbf{R}^m` and :math:`y_i \in \{-1,1\}`, our goal is to
learn a linear scoring function :math:`f(x) = w^T x + b` with model parameters
:math:`w \in \mathbf{R}^m` and intercept :math:`b \in \mathbf{R}`. In order
to make predictions, we simply look at the sign of :math:`f(x)`.
Expand Down

0 comments on commit 196491a

Please sign in to comment.