Math · Advanced · Lesson 6 of 8
A Spam Filter
Naive Bayes
An interactive lesson with 6 steps, about 5 minutes: you predict, drag and solve, with instant feedback on every answer. It runs in your browser and needs JavaScript.
What you’ll learn
- Bayes: posterior ∝ prior × likelihood of the evidence.
- Naive Bayes multiplies word likelihoods as if independent.
- In odds form, each clue multiplies the odds by its likelihood ratio.
Steps
- Evidence from words
- Toggle the words
- One word, by hand
- Looks like ham
- Why “naive”?
- Odds multiply