Generative vs Discriminative

Inference, estimation, and decision-making from data

There are two fundamentally different ways to build a classifier, and the split runs through all of machine learning. A discriminative model learns the boundary between classes directly. A generative model learns how each class generates its data, and derives the boundary as a by-product.

🔒 This is a Pro lesson — the interactive figure, worked examples, quiz and practice open with Pro access.

▶ Generative vs Discriminative
← Statistical Testing for MLExpectation-Maximization (EM) →