What it does

Naive Bayes uses word clues and math chance to sort text quickly.

Independent: Things that don't affect each other • Probability: Math chance

How it works

  • Look at words that appeared in old examples.
  • Give each word a chance score for each group.
  • Combine the word scores and pick the most likely group.

Uses & Applications

  • Gmail can use this idea to help move junk emails into Spam.
  • A school filter can flag rude comments for a teacher to review.
  • A help desk can send messages about “password” to the account team.
In short

It is a fast probability calculator for sorting text, especially spam emails.

Try it yourself

Help sort junk mail

Some words appear more often in junk messages. The computer learns those word clues from eight practice messages.

Your turn

Change one setting at a time. Reset example puts everything back.

Combine word evidence

Step 1
Why this happens

Look closer at the numbers
Numbers used in this example