Catalog / Time series
M4 Competition (2018)
100,000 real series, from yearly to hourly, to see which forecasting methods actually work.
Why it matters
The M competitions have tested forecasting methods on real data since 1982, and M4 was the first at scale: 100,000 series from finance, industry, demography and economics. It settled an argument. Pure machine-learning methods did poorly, combinations of statistical methods did well, and the winner was a hybrid: Slawek Smyl's exponential smoothing fused with an LSTM. A year later N-BEATS beat it with deep learning alone, and M4 became the standard test for global forecasting models.
Get the data
# pip install -U huggingface_hub
hf download autogluon/chronos_datasets --repo-type dataset \
--local-dir m4from datasets import load_dataset # pip install datasets
ds = load_dataset("autogluon/chronos_datasets", "m4_yearly") # or any of: m4_quarterly, m4_monthly, m4_weekly, m4_daily, m4_hourly
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/autogluon/chronos_datasets@~parquet/m4_yearly/train/*.parquet")
print(df.shape)The Chronos collection of forecasting datasets, one config per M4 frequency. The official CSVs, split into train and test, are in the M4 repository.
- Year
- 2018
- Creators
- Spyros Makridakis, Evangelos Spiliotis, Vassilios Assimakopoulos (University of Nicosia, NTUA)
- Task
- Univariate point and interval forecasting, at six frequencies
- Size
- 100,000 series (48,000 monthly, 24,000 quarterly, 23,000 yearly, 4,227 daily, 414 hourly, 359 weekly)
- Splits
- yearly 23,000 · quarterly 24,000 · monthly 48,000 · weekly 359 · daily 4,227 · hourly 414
- Input
- The history of one series, from 13 to over 9,000 observations
- Labels
- The next 6 (yearly) to 48 (hourly) values, scored with sMAPE and MASE
- License
- Free for research (M4 repository); the Hugging Face copy keeps each source's terms
- Paper
- The M4 Competition: Results, findings, conclusion and way forward
Samples
the last 600 of 1,657 points
the last 600 of 4,211 points
the last 600 of 1,008 points
the last 600 of 862 points
the last 600 of 4,209 points
the last 600 of 1,008 points
the last 600 of 1,057 points
the last 600 of 4,211 points
the last 600 of 1,008 points
the last 600 of 953 points
the last 600 of 4,211 points
the last 600 of 1,008 points
What one record actually looks like (raw JSON, row 7737)
{
"category": "Micro",
"id": "T007737",
"target": [134, 133, 123, 136, 148, 151, 155, 151, 158, 182, 208, 236, 228, 269, 319, 362, 442, 481, 517, 552, 613, 885, 885, 844, 944, 1198, 1393, 1543, 1848, 1866, 1864, 2231, 2252, 2001, 2333, 2305, 2691, 2349, 3012, 3430, … 17 more],
"timestamp": ["1960-12-31T12:00:00", "1961-12-31T12:00:00", "1962-12-31T12:00:00", "1963-12-31T12:00:00", "1964-12-31T12:00:00", "1965-12-31T12:00:00", "1966-12-31T12:00:00", "1967-12-31T12:00:00", "1968-12-31T12:00:00", "1969-12-31T12:00:00", "1970-12-31T12:00:00", "1971-12-31T12:00:00", "1972-12-31T12:00:00", "1973-12-31T12:00:00", "1974-12-31T12:00:00", "1975-12-31T12:00:00", "1976-12-31T12:00:00", "1977-12-31T12:00:00", "1978-12-31T12:00:00", "1979-12-31T12:00:00", "1980-12-31T12:00:00", "1981-12-31T12:00:00", "1982-12-31T12:00:00", "1983-12-31T12:00:00", "1984-12-31T12:00:00", "1985-12-31T12:00:00", "1986-12-31T12:00:00", "1987-12-31T12:00:00", "1988-12-31T12:00:00", "1989-12-31T12:00:00", "1990-12-31T12:00:00", "1991-12-31T12:00:00", "1992-12-31T12:00:00", "1993-12-31T12:00:00", "1994-12-31T12:00:00", "1995-12-31T12:00:00", "1996-12-31T12:00:00", "1997-12-31T12:00:00", "1998-12-31T12:00:00", "1999-12-31T12:00:00", … 17 more]
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-14 from autogluon/chronos_datasets at revision eeecad0
Worth knowing
- The winning ES-RNN came from Uber; second place, FFORMA, learned from series features how to weight nine classic methods.
- Of the 17 most accurate methods, 12 were combinations of mostly statistical methods.
- Each series has a category (Micro, Macro, Industry, Finance, Demographic or Other); the series are anonymized, with no names or units.
- The samples show up to the last 600 points of each series.
Related datasets
- M3 Competition: 2000, 3,003 series; the benchmark before M4forecasters.org ↗
- M5 Competition: 2020, Walmart salesM5 Forecasting (Walmart) on this site →
- GIFT-Eval: 2024, the benchmark for foundation models; includes M4GIFT-Eval on this site →
- Air Passengers: 1970, the classic single monthly series from Box and JenkinsHugging Face ↗Air Passengers on this site →
Landmark papers
- N-BEATS: Neural basis expansion analysis for interpretable time series forecasting (2019)N-BEATS on this site →
- A hybrid method of exponential smoothing and recurrent neural networks for time series forecasting (ES-RNN) (2020)
- Chronos: Learning the Language of Time Series (Chronos) (2024)Chronos on this site →