Baselines You Must Beat
P7.forecasting.01 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: What Makes Data a Time Series?
Where next?
Later in Forecasting
This module unlocks
Go up a level
P7.forecasting.01 · Audience: Guest, IT/ML learner, Language professional · Prerequisites: What Makes Data a Time Series?
Later in Forecasting
This module unlocks
Go up a level
The foundations track taught you to read a series; this track teaches you to forecast one. It starts in an unglamorous place, on purpose: with three forecasting methods so simple they barely deserve the name — and with the rule that gives them their power. Every forecast you ever ship will be judged against them, so you meet them first.
The cheapest forecast in the world is the naive forecast: tomorrow will be exactly like today. No model, no fitting, no parameters — copy the last value forward. On the series [1, 2, 3, 4, 5], the naive forecast for the next step is simply 5. You can check that in your head, and being able to check things in your head is exactly what a baseline is for.
Why it matters — Naive is the floor under every forecasting effort. If a sophisticated model forecasts worse than copying yesterday, the model is not merely useless — it costs engineering time, compute and credibility while delivering less than zero. That is negative work, and the only way to detect it is to always compute the baseline.
This floor is higher than it looks. On a series that behaves like a random walk — many prices and exchange rates do — naive is not just hard to beat, it is close to the best anyone can do. A model that loses to it has learned nothing but noise.
Ask a question about this content. The mentor explains and grounds its answer in what you are studying; asking is recorded as a learning signal, not a grade.
Off by default. The mentor always gets your file; this only decides whether your own copy stays here. Copies live in this browser only - they do not follow you to another device, and clearing site data removes them.
Build the baselines yourself: read the naive forecast off a series, implement seasonal naive and the moving average with their window edges, then implement MASE — including the guard MAPE lacks.
Loading exercise…
Loading exercise…
Loading exercise…
A scratch console for this page's ideas — ungraded, nothing you run here is recorded.
Scratch console
A scratch console with the scientific stack (pandas, numpy, scikit-learn). Runs on the server — no network, resource-limited and measured.
Output appears here.
Loading your notes...