Bernoulli Naive Bayes models each feature as:
A
Present or absent (a binary value)
Correct answer
B
A ranked category with fixed order
C
A count of how often it appears
D
A continuous normally distributed value
Correct answer
A. Present or absent (a binary value)
10 views
⚔️
Challenge a friend on Naive Bayes
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
Bernoulli NB uses binary indicators, such as whether a word occurs in a document, and also penalises absent features. Multinomial NB uses word counts, and Gaussian NB uses continuous values.
Reference
Asked in: Data Science Interviews, GATE DA
Doubts & discussionNot sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ P(spam) = 0.4 and P(word | spam) = 0.5, while P(ham) = 0.6 and P(word | ham) = 0.1. Given the word appears, what is P(spam | word)?