Relation

Bayesian Inference in Naive Bayes Classifier

The Naive Bayes classifier assigns the most probable class c^\hat{c} by choosing the class which has the highest probability for a document dd: c^=argmaxcCP(cd)\hat{c}=argmax_{c\in C}P(c|d). Using Bayesian inference, this is equivalent to finding: c^=argmaxcCP(dc)P(c)\hat{c}=argmax_{c\in C}P(d|c)P(c), where P(dc)P(d|c) is the likelihood function and P(c)P(c) is the prior probability.

0

1

Updated 2026-05-01

Tags

Data Science