Overview
Naive Bayes estimates how likely each class is given the observed features, assuming features contribute independently within a class.
Classifies examples using feature probabilities and a simplifying independence assumption.
Compact metadata for implementation and discovery.
Naive Bayes estimates how likely each class is given the observed features, assuming features contribute independently within a class.
Quick facts
Runtime and memory behavior at a glance.
Best
O(nd)
Average
O(nd)
Worst
O(nd)
Space
O(cd)
score(class) = P(class) * product(P(feature_i | class))Scores each class by multiplying the prior and feature likelihoods.
Show feature evidence adding to class probability scores.
Naive Bayes operates in O(nd) time and O(cd) space within the Probabilistic Classification family. Key governing relation: score(class) = P(class) * product(P(feature_i | class)). Often compared with Logistic Regression and Support Vector Machine.
What each reference supports for this entry.
Statistical learning reference for the model family and tradeoffs of Naive Bayes.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Naive Bayes and logistic regression are simple probabilistic classifiers with different independence assumptions.