DOC correct equation in BernoulliNB
@@ -197,7 +197,7 @@ The decision rule for Bernoulli naive Bayes is based on
.. math::
- P(x_i \mid y) = P(i \mid y) x_i + (1 - P(i \mid y)) (1 - x_i)
+ P(x_i \mid y) = P(x_i = 1 \mid y) x_i + (1 - P(x_i = 1 \mid y)) (1 - x_i)
which differs from multinomial NB's rule
in that it explicitly penalizes the non-occurrence of a feature :math:`i`
