Checkout
Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial
Question

Discriminative Models - Is Naive Bayes generative or discriminative?

Answer

In contrast to discriminative models like logistic regression, naive bayes is a generative model. The generative model takes the joint probability, p(x, y), of the inputs x and the label y into account, then uses Bayes rules to calculate p(y | x), and finally chooses the most likely label y.