What are the time and space complexities of training a Naive Bayes classifier?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Work out the training time and model size of a Naive Bayes classifier in terms of samples, features and classes. Tests why training is a single counting pass, how sparse inputs change the bound, and what the Gaussian, multinomial and categorical variants store.