Contents
Naive Bayes/Chapter 08 of 10
08Common misconceptions
- “Naive Bayes assumes the features are independent.” It assumes they are independent given the class. Overall the pixels are strongly dependent, through the digit.
- “The likelihood is the probability of the class.” P(x\mid c) answers the reverse question; as a function of c it need not even add up to one (Murphy, 2022, §2.3). The center pixel is off in 100\% of zeros, yet only 31\% of the images with the center off are zeros.
- “If the assumption is violated, naive Bayes fails.” Its decisions often survive, because double counting stretches the scores without changing their order (Domingos and Pazzani, 1997); its probabilities do not survive.
- “Its probabilities are reliable.” They are pushed toward 0 and 1; calibrate them before using them as probabilities (Niculescu-Mizil and Caruana, 2005).
- “Naive Bayes is a Bayesian method.” It uses Bayes’ rule to classify, but its parameters are usually point estimates (counts, maximum likelihood or smoothed); a fully Bayesian version would integrate over the parameters (Murphy, 2022, §9.3.3).