Naive Bayes

Probabilistic & graphical · classical · 1958 · text · tabular

What it is

Applies Bayes' rule while pretending features are independent given the class — wrong, but surprisingly effective.

When to use it

Text classification and spam filtering where it is fast, tiny, and trains on almost nothing.

Caveats

It assumes features are independent given the class, which is rarely true, so its probability estimates are poorly calibrated and correlated features get counted twice. Unseen feature values give zero probability unless smoothing is used.

Key ideas

  • The independence assumption is false and it still works
  • Multinomial vs Bernoulli vs Gaussian variants matter more than anything else

Related architectures

Original paper

LII. An essay towards solving a problem in the doctrine of chances. By the late Rev. Mr. Bayes, F. R. S. communicated by Mr. Price, in a letter to John Canton, A. M. F. R. S (1763, DOI)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted