Map 1 · Supervised learning · Classification lane · step C2
Fit it
Which coefficients make the observed labels most probable?
Key formula
Fact or figure
Predicting for a customer who does leave costs in cross-entropy; predicting 0.5 costs only .
Skip this step and…
Judge a probability model on accuracy alone and you can't tell a confident wrong answer from a hesitant one.
Telco example
Maximum likelihood picks the that make Telco's past leavers look likely to leave and its stayers likely to stay.
Learn it
Taught in Section 4 (Logistic Regression and Classification) and Section 6 (Clustering and Support Vector Machines) of the course. The map follows the machine learning workflow, the order you build a model in; the course teaches in the order that is easiest to learn, so the numbers can jump.
- 4.4 Maximum Likelihood EstimationHow logistic regression is fitted: choose coefficients that make the observed labels as probable as possible. The likelihood, the log-likelihood, a worked example, and why there is no closed form.
- 4.5 Cross-entropy / Log-lossCross-entropy is the negative average log-likelihood. Why it punishes confident wrong predictions so hard, how to compute it, and how it differs from accuracy as a measure.
- 6.6 Hard-margin and Soft-margin SVMThe hard-margin optimisation problem, why it fails on overlapping data, slack variables and hinge loss, the soft-margin objective, and how hinge loss compares with logistic and 0–1 loss.