01
What is the difference between generative and discriminative models?
Show answer
Discriminative models learn P(y given x) directly (logistic regression, SVM). Generative models learn the joint P(x, y) and can generate data (Naive Bayes, GANs).
89 hard questions with answers. Design, trade-off and deep-dive questions asked for senior roles and at top product companies.
Candidates targeting senior roles or top product companies, and anyone who finds the medium set easy.
Answer each question aloud before opening the answer, mark it as solved only when your answer matches the key idea, and save misses to Last-Minute Revision.