Naive Bayes assumes that the features given their classes are independent, and hence :
$$P(y~|~x_1, \ldots, x_n)= \frac{P(y)P(x_1,\ldots, x_n~|~ y) }{P(x_1,\ldots,x_n)}$$ Will become :
$$ P(y~|~ x_1,\ldots,x_n) =\frac{P(y)\prod_{i=1}^n P(x_i~| ~y)}{P(x_1,\ldots,x_n)}$$ That is, due to the assumption that the features conditioned to their class are independent, then we have multiplied each feature conditioned to its class by the other. My question is, if the features are dependent then what is the right way to calculated the features conditioned to their class ?