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.
GO TO THE SOURCE
Original explanations, connected to the research.
Dive into Deep Learning — linear regressionAn Introduction to Statistical Learning — authors’ materialsSuggest 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.