AI engineering glossary · Classical ML algorithms

What is Naive Bayes?

Naive Bayes: A probabilistic classifier that applies Bayes' rule and assumes features are independent of each other once the class is known. That simplification makes training a matter of counting, so it is very fast, works with little data and is a classic baseline for text classification.

Level: beginnerTopic: Classical ML algorithms

Naive Bayes: an example

Classifying an SMS as spam by multiplying the class prior by the probability of each word given spam and given not-spam, then picking the larger.

Related terms

More Classical ML algorithms terms

Where you learn it

Naive Bayes is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.