AI engineering glossary · Classical ML algorithms
What is Bernoulli naive Bayes?
Bernoulli naive Bayes: A naive Bayes version for binary features that records whether each feature is present or absent, and explicitly penalises absence. It suits short texts where word presence matters more than counts.
Bernoulli naive Bayes: an example
Representing each tweet as a 0/1 vector over a 5,000-word vocabulary and predicting sentiment.
Related terms
More Classical ML algorithms terms
Where you learn it
Bernoulli 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.