What class does a Naive Bayes classifier predict if an input sample contains none of the vocabulary features?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Work out which class a Naive Bayes text classifier predicts for an input that contains none of its vocabulary words. It tests whether you can write the likelihood for the Multinomial and Bernoulli variants, explain what drives the prediction when no words are present, and handle such inputs in practice.