Fundamentals

Regression

Regression predicts a continuous numeric quantity.

square feetpricefitted linea number, not a category
Regression predicts a continuous numeric quantity. Values shown in the worked visual are illustrative unless the labels state otherwise.

How it works

A regression model learns how inputs shift a numeric target. Its errors retain magnitude, so missing by 20 usually matters more than missing by 2.

A concrete example

Illustrative: a model predicts 18.4 minutes for a trip whose observed time is 20.0 minutes.

Do not confuse it with Classification

regression outputs a quantity; classification selects a category.

Study the full lesson