Map 1 · Supervised learning · Regression lane · step R2

Fit it

Which coefficients fit the data best?

Key formula

the coefficients that minimise .

Fact or figure

With one predictor, : three sums and a division, which you can do by hand in a few minutes.

Skip this step and…

If a predictor barely varies ( small), its fitted slope is mostly noise.

Telco example

OLS might find each extra GB adds about £2.10 to the bill, holding minutes and contract fixed.

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.

How it connects

← Back to the whole map