Catalog / Time series
UCR Time Series Archive (2002)
128 small classification problems, from heartbeats to hand gestures, that every time-series classifier is measured on.
Why it matters
For two decades this has been where time-series classification is measured. Its 128 datasets come from ECGs, motion capture, spectrographs, sensors and image outlines turned into series, each with a fixed train/test split, so results compare across papers. For years the 1-nearest-neighbor classifier with dynamic time warping was famously hard to beat; ensembles like HIVE-COTE, then ROCKET and InceptionTime, finally did.
Get the data
# pip install -U huggingface_hub
hf download ChengsenWang/UCR-2018 --repo-type dataset \
--local-dir ucrfrom datasets import load_dataset # pip install datasets
ds = load_dataset("ChengsenWang/UCR-2018", "GunPoint") # or any of: ECG200, Coffee, CBF, Trace, TwoLeadECG
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/ChengsenWang/UCR-2018@~parquet/GunPoint/train/*.parquet")
print(df.shape)A community copy with one config per dataset and train/test splits. The official zip (password on the archive page) also has the 2015 version.
- Year
- 2002
- Creators
- Eamonn Keogh and colleagues (UC Riverside); 2018 expansion led by Hoang Anh Dau
- Task
- Univariate time-series classification
- Size
- 128 datasets (2018 version); 191,158 series in all, of length 15 to 2,844
- Splits
- train 60,555 · test 130,603
- Input
- One series, usually z-normalized
- Labels
- A class (2 to 60 classes, depending on the dataset)
- License
- Free for research; cite the archive
- Paper
- The UCR Time Series Archive
Samples
What one record actually looks like (raw JSON, row 47)
{
"data": [
[
-0.77913
],
[
-0.77838
],
[
-0.77574
],
[
-0.77625
],
[
-0.77317
],
[
-0.77388
],
[
-0.76896
],
[
-0.76205
],
[
-0.75863
],
[
-0.75558
],
[
-0.74829
],
[
-0.74474
],
[
-0.7394
],
[
-0.73748
],
[
-0.73211
],
[
-0.7288
],
[
-0.72499
],
[
-0.72197
],
[
-0.71743
],
[
-0.7147
],
[
-0.7111
],
[
-0.71048
],
[
-0.71123
],
[
-0.71224
],
[
-0.71015
],
[
-0.71222
],
[
-0.71263
],
[
-0.71648
],
[
-0.71751
],
[
-0.71799
],
[
-0.71834
],
[
-0.71793
],
[
-0.71721
],
[
-0.71666
],
[
-0.71495
],
[
-0.71247
],
[
-0.71044
],
[
-0.7025
],
[
-0.69806
],
[
-0.68871
],
[
-0.68753
],
[
-0.68591
],
[
-0.68495
],
[
-0.68521
],
[
-0.68722
],
[
-0.68347
],
[
-0.66694
],
[
-0.623
],
[
-0.53329
],
[
-0.40316
],
[
-0.18226
],
[
-2.3692
],
[
0.16732
],
[
-0.8415
],
[
0.5169
],
[
0.68623
],
[
0.76491
],
[
0.89838
],
[
1.0403
],
[
1.2154
],
[
1.3877
],
[
1.5181
],
[
1.6615
],
[
1.7312
],
[
1.745
],
[
1.7495
],
[
1.7561
],
[
1.7681
],
[
1.7702
],
[
1.7762
],
[
1.7705
],
[
1.7702
],
[
1.785
],
[
1.7845
],
[
1.7775
],
[
1.7747
],
[
1.7747
],
[
1.773
],
[
1.7681
],
[
1.771
],
[
1.7662
],
[
1.7604
],
[
1.7568
],
[
1.7445
],
[
1.7327
],
[
1.7254
],
[
1.7071
],
[
1.6791
],
[
1.5968
],
[
1.5051
],
[
1.4018
],
[
1.2737
],
[
1.1717
],
[
1.0426
],
[
0.92565
],
[
0.82074
],
[
0.7821
],
[
0.52741
],
[
0.44066
],
[
0.24082
],
[
-0.034898
],
[
-0.16803
],
[
-0.32261
],
[
-0.4994
],
[
-0.60413
],
[
-0.67618
],
[
-0.71966
],
[
-0.73853
],
[
-0.73307
],
[
-0.7093
],
[
-0.67441
],
[
-0.63836
],
[
-0.6076
],
[
-0.58273
],
[
-0.57497
],
[
-0.56793
],
[
-0.56404
],
[
-0.56232
],
[
-0.5578
],
[
-0.5497
],
[
-0.54054
],
[
-0.5337
],
[
-0.53461
],
[
-0.52776
],
[
-0.52143
],
[
-0.5186
],
[
-0.51439
],
[
-0.50992
],
[
-0.50954
],
[
-0.51249
],
[
-0.51424
],
[
-0.513
],
[
-0.51596
],
[
-0.51494
],
[
-0.51681
],
[
-0.51373
],
[
-0.51482
],
[
-0.51156
],
[
-0.51063
],
[
-0.50862
],
[
-0.51214
],
[
-0.51271
],
[
-0.51012
],
[
-0.51187
],
[
-0.51188
],
[
-0.50718
],
[
-0.50696
],
[
-0.50501
],
[
-0.50373
],
[
-0.50438
]
],
"label": 1
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-14 from ChengsenWang/UCR-2018 at revision 6551f7e
Worth knowing
- The archive started in 2002 with 16 datasets; it grew to 85 in 2015 and 128 in 2018.
- Several test sets are larger than their training sets, some by far, to make overfitting visible.
- ROCKET (2020) classifies with thousands of random convolution kernels and a linear model, matching the best ensembles in a small fraction of their training time.
- Its sister, the UEA archive, holds 30 multivariate datasets.
Related datasets
- UEA Multivariate Archive: 2018, 30 multivariate classification datasetstimeseriesclassification.com ↗
- UCR Anomaly Archive: 2021, 250 series with one anomaly eachcs.ucr.edu ↗
- Numenta Anomaly Benchmark (NAB): 2015, 58 labeled streams for real-time anomaly detection; not on Hugging Face in a viewer-readable copygithub.com ↗