scikit-learn/scikit-learn — pull request #2858 by ameasure (2014-02-14 01:27:13+00:00)
Title: Update naive_bayes.rst

Updated the Bernoulli equation for P(x_i|y) to match http://www.inf.ed.ac.uk/teaching/courses/inf2b/learnnotes/inf2b-learn-note07-2up.pdf. The equation currently displayed can't possibly be correct because it gives a 0 probability no matter what value x_i takes.