Every classifier so far — logistic regression, the perceptron, softmax — has been discriminative: it models directly, drawing a decision boundary and ignoring how itself is distributed within each class. This note introduces the opposite philosophy: generative classifiers model and separately, then invoke Bayes' rule to get . Understanding when to reach for which philosophy — a decision that recurs for naive-Bayes-style credit models and text-based sentiment classifiers alike — is the payoff of this note.
In this lesson
- Learning objectives
- Gaussian Discriminant Analysis
- Naive Bayes
- Worked example
Before you start
The full lesson, with worked examples and exercise solutions, is for members.
Read the full lessonNew to SelfMadeQuant.com? See membership options or browse the Financial Machine Learning syllabus.