Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The computed response content exceeds the supported size in bytes (10000000).
Error code:   TooBigContentError

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

value
float64
3,535.866943
3,383.499023
3,655.527588
3,510.446533
3,294.697266
3,111.845947
2,967.892578
2,847.645264
2,769.23999
2,728.49292
2,688.516602
2,697.334473
2,765.932861
2,808.799072
2,707.970459
2,749.800049
2,817.770996
2,880.381104
2,938.425781
2,999.911621
3,042.307373
3,062.617676
3,083.040283
3,064.280762
3,050.94043
3,028.767334
3,017.532959
3,004.483398
2,998.258301
3,015.238281
3,083.572754
3,137.844482
3,207.363525
3,283.306152
3,273.149658
3,253.862061
3,202.805176
3,198.039307
3,231.408691
3,278.493896
3,333.343018
3,295.496338
3,183.491211
3,072.27417
3,015.028564
3,000.72168
3,427.171143
3,436.701172
3,343.604736
3,235.61499
3,545.856934
3,444.969482
3,275.705566
3,107.209473
2,983.269043
2,913.658936
2,903.388184
2,950.549072
3,087.359375
3,257.475342
3,491.167725
3,645.581299
3,602.186523
3,748.842041
3,762.994141
3,877.969238
3,870.471924
3,869.243408
3,935.652832
3,887.479492
3,965.427734
3,897.412109
3,928.999756
3,871.13501
3,906.080078
3,837.169434
3,872.019287
3,826.18335
3,850.096436
3,899.331055
3,892.743164
3,948.986816
3,847.675537
3,732.561523
3,584.402588
3,441.907959
3,406.909424
3,463.409424
3,551.807861
3,584.572266
3,498.031006
3,353.994629
3,286.181885
3,179.591797
3,633.54834
3,638.506348
3,556.318359
3,392.131592
3,744.34375
3,597.313232
End of preview.

imbalance-hub

A curated, versioned catalog of imbalanced time series — "OpenML for imbalanced time series." Every series here has been scored with imbalance_eval (the relevance-function methodology from Moniz, Branco & Torgo, 2017) and kept only if it actually has a rare regime worth studying.

The catalog metadata and client library live in the companion GitHub repo, jpmsilva1/imbalance-ts-hub — start there for the schema, the scoring methodology, and how the catalog is built. This dataset repo holds the actual data: one Parquet file per accepted series.

Quick start

pip install git+https://github.com/jpmsilva1/imbalance-ts-hub.git
from imbalance_hub import load_catalog, pull

catalog = load_catalog()
severe_hourly = catalog[(catalog.imbalance_level == "severe") & (catalog.granularity == "H")]

series = pull(severe_hourly.id.iloc[0])   # -> pd.Series, values ready to use

# Filter by collection + severity + length before pulling anything.
candidates = catalog[
    (catalog.collection == "m4_monthly")
    & (catalog.imbalance_level.isin(["severe", "extreme"]))
    & (catalog.length >= 200)
]

load_catalog() fetches the metadata CSV from GitHub (not from this repo) and caches it locally, re-checking with a conditional request on the default version="latest" so an unchanged catalog isn't re-downloaded; pull() downloads only the one Parquet blob you asked for from here, verified against a content_hash recorded in the catalog. Browsing the catalog's 59k+ rows never downloads more than the metadata.

Dataset structure

One Parquet file per accepted series, at {source}/{collection}/{shard}/{key}.parquet (shard is a 2-hex-char directory keeping every folder under Hugging Face's per-directory file limit — an implementation detail, not part of the catalog id). Each file has:

Column Type Notes
value float64 Raw values, in original order. NaNs preserved where the source series has missing points.
timestamp datetime64 Present only when the source series carries real timestamps (TSLib); absent for GluonTS series, which are index-only.

The catalog id (source:collection:key, e.g. gluonts:m4_hourly:h1) is what maps an id to its blob path — see blob_path_for() in scripts/upload_blobs.py in the GitHub repo, or just use the catalog CSV's blob_path column directly.

Filterable columns

The columns you'll actually filter load_catalog()'s DataFrame on. Full column list/types and the complete numeric-distribution table live in the GitHub README's Catalog schema section.

Column Values
source gluonts (58,354), tslib (1,135)
license cc-by-4.0 (28,868), unlicensed (29,486), unknown (1,135) — see Licensing
imbalance_level moderate (32,867), severe (13,256), mild (12,194), extreme (1,172)
granularity 12 canonical values (normalized from source-inconsistent notation), from min up to Y — see the GitHub README's Filterable values for the full duration-ordered table
collection 55 distinct, from m4_monthly (16,998) down to single-series collections

Numeric ranges (min / median / max) for the columns most people filter on:

Column Min Median Max
length 12 330 526,980
%Rare 0.01 8.70 100.00
IR 0 0.10 ∞ (all-rare series, n_normal=0)

Dataset summary

  • 59,489 accepted series out of 136,673 scanned (~43.5%) — the rest were excluded by the inclusion gate (no rare regime) or failed to embed (too short).
  • 55 source collections, from GluonTS (58,354 series — M4, M3, electricity, traffic, tourism, and more) and TSLib (1,135 series — ETT, weather, exchange rate, national illness).
  • Severity distribution: 1,172 extreme, 13,256 severe, 32,867 moderate, 12,194 mild (see the GitHub README for how imbalance_level is computed from %Rare).

Licensing

No single license applies — this catalog spans sources with different terms, checked against the original loaders rather than assumed. The curation layer (catalog metadata, imbalance-scoring methodology, pipeline code) is separate from the underlying values: the code is MIT-licensed, which does not extend to the data — see DATA_LICENSES.md for that scope split. For the raw values themselves:

  • Most GluonTS collections (electricity, traffic, tourism_*, nn5_*, weather, wind_farms_*, m1_*, and most others fetched via GluonTS's _tsf_datasets.py) come from the Monash Time Series Forecasting Archive on Zenodo, which licenses its datasets under CC BY 4.0 — verified directly against the NN5 Daily record.
  • M4 (m4_* — GluonTS's largest single contributor by series count) is fetched from M4Competition/M4-methods on GitHub. That repository publishes no license (confirmed via the GitHub API): no LICENSE file, no license declared anywhere. Under default copyright, that means no redistribution rights have been granted for this data, by imbalance-hub or by anyone else who mirrors it. It's rehosted here in line with common practice in the forecasting field, not because the rights question is resolved. If the M4 organizers ever ask, these series will be removed from the Hugging Face mirror on request.
  • TSLib (ETT-small, electricity, exchange_rate, illness, traffic, weather) — the thuml/Time-Series-Library repo itself is MIT-licensed, but that covers the code; the bundled benchmark CSVs' original licenses aren't stated in that repo.

If you plan to use a specific series commercially or redistribute it standalone, verify that series' actual source collection rather than relying on this summary.

Citation

To cite the catalog itself:

@software{silva2026imbalancehub,
  author  = {Silva, João P. M.},
  title   = {imbalance-hub},
  year    = {2026},
  url     = {https://github.com/jpmsilva1/imbalance-ts-hub}
}

If you use this catalog's imbalance scoring, also cite the methodology it implements:

@article{moniz2017resampling,
  title={Resampling strategies for imbalanced time series forecasting},
  author={Moniz, Nuno and Branco, Paula and Torgo, Lu{\'\i}s},
  journal={International Journal of Data Science and Analytics},
  volume={3},
  pages={161--181},
  year={2017},
  publisher={Springer}
}
Downloads last month
101