Naive Bayes Text Classifier

Various, 1997

O(nd)

Naive Bayes has roots in 18th-century probability; strong baselines for text appeared widely in the 1990s (e.g., spam filters). This canvas uses a three-word toy vocabulary, hand-set priors and likelihoods, and walks through the independence assumption, the lookup table, and log-score comparison for the document “free + lottery”.