What distributional assumptions distinguish the Gaussian, Multinomial, and Bernoulli variants of Naive Bayes?

Quick Overview

Asks how the Gaussian, Multinomial and Bernoulli versions of Naive Bayes differ in the feature distribution they assume and which data each one suits. Tests understanding of class-conditional likelihoods, how absent and repeated features are scored, and smoothing.

What distributional assumptions distinguish the Gaussian, Multinomial, and Bernoulli variants of Naive Bayes?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What distributional assumptions distinguish the Gaussian, Multinomial, and Bernoulli variants of Naive Bayes? For each one, say what kind of feature data it is meant for. ```hint Write the likelihood Write down the class-conditional likelihood $P(x \mid y)$ each variant assumes. Then check what a feature equal to 0 contributes to the score under the Multinomial and the Bernoulli versions. ``` ### What a Strong Answer Covers - The assumption all three variants share and the part that differs between them. - The likelihood each variant assumes and the parameters it estimates for each class. - The kind of data each variant fits, with an example for each. - How Multinomial and Bernoulli treat absent and repeated features, and why that matters on sparse text. - Practical details such as smoothing and the inputs each variant cannot handle. ### Follow-up Questions - A word in a test document never appeared in one class during training. What happens to that class's score, and how does smoothing fix it? - Would you use Gaussian Naive Bayes on a heavily skewed feature such as income? What would you do instead? - Multinomial Naive Bayes is defined for integer counts. Why does it still work reasonably well on TF-IDF values? - Why are Naive Bayes probabilities often poorly calibrated even when its accuracy is good?

Overview: Asks how the Gaussian, Multinomial and Bernoulli versions of Naive Bayes differ in the feature distribution they assume and which data each one suits. Tests understanding of class-conditional likelihoods, how absent and repeated features are scored, and smoothing.

Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

What distributional assumptions distinguish the Gaussian, Multinomial, and Bernoulli variants of Naive Bayes? For each one, say what kind of feature data it is meant for.

What a Strong Answer Covers Guidance

  • The assumption all three variants share and the part that differs between them.
  • The likelihood each variant assumes and the parameters it estimates for each class.
  • The kind of data each variant fits, with an example for each.
  • How Multinomial and Bernoulli treat absent and repeated features, and why that matters on sparse text.
  • Practical details such as smoothing and the inputs each variant cannot handle.

Follow-up Questions Guidance

  • A word in a test document never appeared in one class during training. What happens to that class's score, and how does smoothing fix it?
  • Would you use Gaussian Naive Bayes on a heavily skewed feature such as income? What would you do instead?
  • Multinomial Naive Bayes is defined for integer counts. Why does it still work reasonably well on TF-IDF values?
  • Why are Naive Bayes probabilities often poorly calibrated even when its accuracy is good?