Tutorial
Jun 26, 20269 min read
0
Bayes Theorem
Most classifiers learn a direct mapping from features to class labels. Naive Bayes takes a different route: it models how each class generates features, then us…
~/blog/tutorials/machine-learning
Most classifiers learn a direct mapping from features to class labels. Naive Bayes takes a different route: it models how each class generates features, then us…
Bayes theorem gives the posterior $P(y \mid x) \propto P(y) \times P(x \mid y)$. To make this computable, you need a model for the likelihood $P(x \mid y)$ — ho…
Three variants, three datasets. This post runs each Naive Bayes classifier on the data it's designed for, inspects what the model learned, and shows exactly whe…