Skip to content

Commit 8b7fa9e

Browse files
simon-pepinamueller
authored andcommitted
Small edits to LDA/QDA documentation
1 parent df14ef9 commit 8b7fa9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/modules/lda_qda.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Linear and quadratic discriminant analysis
88

99
Linear discriminant analysis (:class:`lda.LDA`) and
1010
quadratic discriminant analysis (:class:`qda.QDA`)
11-
are two basic classifiers, with, as their names suggest, a linear and a
11+
are two standard classifiers, with, as their names suggest, a linear and a
1212
quadratic decision surface, respectively.
1313

1414
These classifiers are attractive because they have closed-form solutions that
@@ -57,7 +57,7 @@ which model the class conditional distribution of the data :math:`P(X|y=k)`
5757
for each class :math:`k`. Predictions can then be obtained by using Bayes' rule:
5858

5959
.. math::
60-
P(y=k | X) = \frac{P(X | y=k) P(y=k)}{P(X)} = \frac{P(X | y=k) P(Y)}{ \sum_{l} P(X | y=l) \cdot P(y=l)}
60+
P(y=k | X) = \frac{P(X | y=k) P(y=k)}{P(X)} = \frac{P(X | y=k) P(y = k)}{ \sum_{l} P(X | y=l) \cdot P(y=l)}
6161
6262
and we select the class :math:`k` which maximizes this conditional probability.
6363

0 commit comments

Comments
 (0)