What is Naive Bayes classifier and why is it called 'naive'?

Updated May 17, 2026

Short answer

Naive Bayes is a probabilistic classifier based on Bayes’ theorem assuming feature independence.

Deep explanation

Naive Bayes applies Bayes' theorem: P(Y|X) = P(X|Y)P(Y)/P(X). It assumes all features are conditionally independent given the class label, which is rarely true in reality—hence 'naive'. Despite this, it performs well in text classification due to high-dimensional sparse data.

Unlock with a Pro subscription to view this section.

View pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Supervised Learning interview questions

View all →