Map 1 · Supervised learning · Classification lane · step C1
Choose the model
How do I turn inputs into a class, or a probability of one?
Key formula
An SVM instead finds the boundary with the widest margin, .
Fact or figure
Logistic regression is linear regression on the log-odds: each unit of multiplies the odds by .
Skip this step and…
Use a model with no probability output and you can't set a cost-aware threshold later.
Telco example
support calls contract months. A customer with has of leaving.
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.2 Odds, Log-odds and the Sigmoid FunctionProbability, odds and log-odds are three views of the same thing. How to convert between them by hand, and how the sigmoid function squashes any score into a probability.
- 4.3 The Logistic Regression ModelThe model as a linear score passed through a sigmoid, or as linear regression on the log-odds. Interpreting coefficients as odds ratios, computing predictions by hand, and the linear decision boundary.
- 6.4 SVM FundamentalsA support vector machine is a linear classifier that chooses the separating line with the widest safety margin. The idea, the ±1 label convention, the decision rule, and the link to regularisation.
- 6.5 Margins and Support VectorsThe geometry of the margin: distance from a point to the boundary, the margin width 2/‖w‖, what support vectors are, and a complete SVM solved by hand.
How it connects
Feeds into · Step 6
Turn predictions into decisionsThe probability is what a threshold acts on
Where do I draw the line, given what each mistake costs?
Builds on · The fork
A number or a category?Categories go to the classification lane
Is the target a quantity, or one of a few classes?
Builds on · Foundation
No free lunchNo classifier is best everywhere, so try several
No algorithm is best on every problem.