Map 1 · Supervised learning · Regression lane · step R1
Choose the model
What shape of relationship am I assuming?
Key formula
Fact or figure
"Linear" means linear in the coefficients: adding or as predictors is still linear regression.
Skip this step and…
Assume a straight line when the effect bends and the model underfits: the error stays large however much data you add.
Telco example
bill GB used minutes contract months .
Learn it
Taught in Section 3 (Linear Regression) 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.
- 3.1 Regression FundamentalsRegression predicts a number from inputs. The model, the noise term, what "fitting" means, and how predictions are made, using house prices as a running example.
- 3.2 Simple and Multiple Linear RegressionOne predictor or many, the model is a weighted sum of inputs. Why a model with X² or interaction terms is still "linear" regression: it only has to be linear in the coefficients.
How it connects
Builds on · The fork
A number or a category?Numbers go to the regression lane
Is the target a quantity, or one of a few classes?
Builds on · Regression lane · step R3
Read and check itA pattern in the residuals means the model form is wrong: transform a variable or add a term
What do the coefficients mean, and can I trust them?
Builds on · Foundation
No free lunchNo regression model is best everywhere, so try several
No algorithm is best on every problem.