Skip to content

Commit 306de84

Browse files
scoolerlesteve
authored andcommitted
Fix typo in documentation (scikit-learn#8600)
x_i should be in R^m (as n is the number of features)
1 parent 668a24c commit 306de84

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
@@ -279,7 +279,7 @@ Mathematical formulation
279279
========================
280280

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

0 commit comments

Comments
 (0)