Map 1 · Supervised learning · The fork

A number or a category?

Is the target a quantity, or one of a few classes?

Key formula

A class needs a probability; a straight line through 0/1 labels leaves that range.

Fact or figure

With more than two unordered classes, coding them 1, 2, 3 invents an order and spacing that don't exist.

Skip this step and…

Fit a straight line to 0/1 churn labels and some customers get a "probability" of 1.3 or −0.2.

Telco example

The bill forecast takes the regression lane; the churn flag takes the classification lane. Same customers, same columns.

Learn it

Taught in Section 4 (Logistic Regression and Classification) 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