Linear regression assumes a continuous, Gaussian-noise target — the wrong model for a binary outcome like "did this loan default?" This note builds the classification analogue: logistic regression, which reuses the MLE argument from Topic 1 with a Bernoulli, rather than Gaussian, label distribution, arriving at a different loss function (cross-entropy, not squared error) and an update rule that looks — not coincidentally — identical in form to LMS.
In this lesson
- Learning objectives
- The logistic hypothesis
- Maximum likelihood for logistic regression
- 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.