Back to the lesson libraryFOUNDATION · 11 MIN
M07.1 CONNECT THE MECHANISM

Build a tiny prediction model

A coffee truck has to guess tomorrow's sales from the weather forecast. Build the straight-line rule behind that guess, and find the one line that misses least.

LESSON OVERVIEW11 min lesson

Lesson overview

A coffee truck has to guess tomorrow's sales from the weather forecast. Build the straight-line rule behind that guess, and find the one line that misses least.

What you’ll explore

  • A linear predictor uses weights to turn numeric features into a prediction; residual and loss describe different aspects of its error.
Suggest a correction

A precise note can make an explanation better.

Choose the scene and describe what needs attention. Download a feedback file to share through a channel you already use. This page does not send feedback or connect you with a reviewer.

The file includes this note, the scene title, and lesson metadata. Your saved progress and quiz responses are excluded. Download before leaving or reloading to keep your note.