# Forecasting

> From two coefficients fitted to sunspots to pretrained models that forecast series they have never seen.

Page: https://mralbu.github.io/ai-datasets/t/forecasting
Timeline: https://mralbu.github.io/ai-datasets/timeline?track=forecasting
Categories: Time series

Forecasting began with one equation per series and spent decades as statistics' territory. ARIMA turned it into a recipe; neural models learned across thousands of series and then beat the M4 competition outright; Transformers stretched the horizon and were briefly beaten by linear models; and pretraining on many datasets made zero-shot forecasting work.

## Sequence

- **1848 · Dataset:** [Sunspot Number](https://mralbu.github.io/ai-datasets/d/sunspots.md) — The daily count of spots on the Sun, recorded since 1818. Its 11-year cycle is the oldest benchmark in time-series analysis.
- **1927 · Step 1:** [Yule's autoregression](https://mralbu.github.io/ai-datasets/p/yule-1927.md) — Treated a series as driven by its own recent past plus random shocks, with two coefficients fitted to sunspot numbers.
- **1970 · Dataset:** [Air Passengers](https://mralbu.github.io/ai-datasets/d/airline-passengers.md) — Monthly international airline passengers, 1949–1960. The 144 numbers that taught generations of statisticians ARIMA.
- **1970 · Step 2:** [Box–Jenkins (ARIMA)](https://mralbu.github.io/ai-datasets/p/box-jenkins.md) — Autoregression alone could not handle trend or seasonality; differencing, moving-average terms and a fixed fitting routine made ARIMA a recipe.
- **2015 · Dataset:** [Electricity Load Diagrams](https://mralbu.github.io/ai-datasets/d/electricity.md) — The power use of 370 Portuguese clients every 15 minutes for four years, with clear daily and weekly rhythms.
- **2017 · Step 3:** [DeepAR](https://mralbu.github.io/ai-datasets/p/deepar.md) — ARIMA fitted one model per series; one recurrent network trained across thousands of related series shared what it learned and forecast distributions.
- **2018 · Dataset:** [M4 Competition](https://mralbu.github.io/ai-datasets/d/m4.md) — 100,000 real series, from yearly to hourly, to see which forecasting methods actually work.
- **2019 · Step 4:** [N-BEATS](https://mralbu.github.io/ai-datasets/p/n-beats.md) — Neural forecasters still lost to statistical hybrids in the M4 competition; a pure stack of fully connected blocks beat the winner.
- **2020 · Step 5:** [Informer](https://mralbu.github.io/ai-datasets/p/informer.md) — Recurrent models could not look far ahead and full attention was too costly; sparse attention made forecasts hundreds of steps out practical.
- **2021 · Dataset:** [ETT (Electricity Transformer Temperature)](https://mralbu.github.io/ai-datasets/d/ett.md) — Two years of load and oil temperature from two Chinese power transformers, the standard test for long-horizon forecasting.
- **2022 · Step 6:** [PatchTST](https://mralbu.github.io/ai-datasets/p/patchtst.md) — Simple linear models then beat these Transformers; feeding each channel's patches as tokens, like words, put Transformers back on top.
- **2024 · Step 7:** [Chronos](https://mralbu.github.io/ai-datasets/p/chronos.md) — Every model so far was trained on the data it forecast; a T5 language model trained on tokenized series forecasts new ones zero-shot.
