AI ATLASAn interactive field guide
Concept 14 / First models / Finding a minimum

Gradient descent.

Every possible regression line is a point on the loss surface. Start from a poor line, follow the local gradient, and watch the data-space line improve step by step.

A path down the landscape

The fitted line and surface point use the same twelve house records as Chapter 12.

01 / Parameter landscapeStep 0
The arrow begins at the current parameters. Its direction is the negative gradient of mean squared error.

The line in data space

Step ledger

Each step uses the gradient at the current point. A smaller loss means the line fits these examples better.