Skip to content

Commit

Permalink
Merge pull request scikit-learn#2489 from samuela/patch-1
Browse files Browse the repository at this point in the history
Fix typo in the Gaussian PDF in Naive Bayes docs
  • Loading branch information
jakevdp committed Oct 5, 2013
2 parents d0c3395 + c326be1 commit 6f3a805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/modules/naive_bayes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ classification. The likelihood of the features is assumed to be Gaussian:

.. math::
P(x_i \mid y) &= \frac{1}{\sqrt{2\pi\sigma^2_y}} \exp\left(-\frac{ (x_i - \mu_y)^2}{2\pi\sigma^2_y}\right)
P(x_i \mid y) &= \frac{1}{\sqrt{2\pi\sigma^2_y}} \exp\left(-\frac{(x_i - \mu_y)^2}{2\sigma^2_y}\right)
The parameters :math:`\sigma_y` and :math:`\mu_y`
are estimated using maximum likelihood.
Expand Down

0 comments on commit 6f3a805

Please sign in to comment.