AIInterviewTraining logoAIInterview/Training
📊 Evaluation & ML Foundations
Core

Generative vs Discriminative Models (Naive Bayes)

A discriminative model learns P(y|x) directly, the decision boundary. A generative model learns the joint P(x,y), so it models how the data is produced and recovers the label via Bayes. Naive Bayes is the canonical generative classifier and rests on a strong conditional-independence assumption. AI, ML, and GenAI engineer interviews probe this to check whether you know that generative wins with little data or missing features while discriminative wins on raw accuracy once data is plentiful.

a free account unlocks the core curriculum tier · no card
RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS
COMPANIES THAT ASSUME THIS
NEXT IN EVALUATION & ML FOUNDATIONSClustering: K-Means, Hierarchical, DBSCAN