From 48451afd1f3fd364d019566340f51f90419038e9 Mon Sep 17 00:00:00 2001 From: "Christine P. Chai" Date: Sat, 17 May 2025 19:49:17 -0700 Subject: [PATCH] DOC: Correct a typo in math equations --- doc/modules/linear_model.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/modules/linear_model.rst b/doc/modules/linear_model.rst index 69a2bf9b7f477..007afdc592c29 100644 --- a/doc/modules/linear_model.rst +++ b/doc/modules/linear_model.rst @@ -971,7 +971,7 @@ logistic regression, see also `log-linear model .. dropdown:: Mathematical details - Let :math:`y_i \in {1, \ldots, K}` be the label (ordinal) encoded target variable for observation :math:`i`. + Let :math:`y_i \in \{1, \ldots, K\}` be the label (ordinal) encoded target variable for observation :math:`i`. Instead of a single coefficient vector, we now have a matrix of coefficients :math:`W` where each row vector :math:`W_k` corresponds to class :math:`k`. We aim at predicting the class probabilities :math:`P(y_i=k|X_i)` via