8000 DOC: Correct a typo in math equations (#31376) · scikit-learn/scikit-learn@ff6bf36 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff6bf36

Browse files
authored
DOC: Correct a typo in math equations (#31376)
1 parent b92c49c commit ff6bf36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/linear_model.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ logistic regression, see also `log-linear model
971971

972972
.. dropdown:: Mathematical details
973973

974-
Let :math:`y_i \in {1, \ldots, K}` be the label (ordinal) encoded target variable for observation :math:`i`.
974+
Let :math:`y_i \in \{1, \ldots, K\}` be the label (ordinal) encoded target variable for observation :math:`i`.
975975
Instead of a single coefficient vector, we now have
976976
a matrix of coefficients :math:`W` where each row vector :math:`W_k` corresponds to class
977977
:math:`k`. We aim at predicting the class probabilities :math:`P(y_i=k|X_i)` via

0 commit comments

Comments
 (0)
0