Datasets:
Tasks:
Time Series Forecasting
Formats:
parquet
Size:
10M - 100M
Tags:
synthetic-data
Synthetic
synthetic-time-series
time-series-generation
time-series
long-time-series
License:
Card: synthetic data — what is there and how to load it
Browse files
README.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
| 2 |
license: other
|
| 3 |
license_name: per-dataset
|
| 4 |
license_link: https://huggingface.co/datasets/zyplai/MarathonTS/blob/main/LICENSES.md
|
| 5 |
-
pretty_name: MarathonTS
|
|
|
|
|
|
|
| 6 |
tags:
|
| 7 |
- time-series
|
| 8 |
- synthetic-data
|
|
@@ -12,7 +14,7 @@ size_categories:
|
|
| 12 |
- 10K<n<100K
|
| 13 |
---
|
| 14 |
|
| 15 |
-
# MarathonTS — benchmark
|
| 16 |
|
| 17 |
MarathonTS is a benchmark of long synthetic time series. It compares the assembly of a long series from a pool of
|
| 18 |
generated windows (which windows, in what order, how the seams are processed) with long-series generators,
|
|
@@ -20,8 +22,10 @@ including pretrained forecasting models, on 9 open hourly datasets with 10 seeds
|
|
| 20 |
fidelity to the real data (83 metrics against train, validation and an out-of-time split), its utility (TSTR
|
| 21 |
against TRTR in 14 classification and regression tasks), memorisation and cost.
|
| 22 |
|
| 23 |
-
This dataset holds
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
|
| 26 |
| Resource | Link |
|
| 27 |
|---|---|
|
|
@@ -31,6 +35,53 @@ metrics, utility predictions, run records, the collected tables and the reports.
|
|
| 31 |
| Documentation | https://zypl-ai.github.io/MarathonTS |
|
| 32 |
| Leaderboard | https://huggingface.co/spaces/zyplai/MarathonTS |
|
| 33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
## Two runs
|
| 35 |
|
| 36 |
| | `run_h200/` — main run | `run_l4/` — replication run |
|
|
|
|
| 2 |
license: other
|
| 3 |
license_name: per-dataset
|
| 4 |
license_link: https://huggingface.co/datasets/zyplai/MarathonTS/blob/main/LICENSES.md
|
| 5 |
+
pretty_name: 'MarathonTS: synthetic long time series and benchmark results'
|
| 6 |
+
task_categories:
|
| 7 |
+
- time-series-forecasting
|
| 8 |
tags:
|
| 9 |
- time-series
|
| 10 |
- synthetic-data
|
|
|
|
| 14 |
- 10K<n<100K
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# MarathonTS — synthetic long time series and benchmark results
|
| 18 |
|
| 19 |
MarathonTS is a benchmark of long synthetic time series. It compares the assembly of a long series from a pool of
|
| 20 |
generated windows (which windows, in what order, how the seams are processed) with long-series generators,
|
|
|
|
| 22 |
fidelity to the real data (83 metrics against train, validation and an out-of-time split), its utility (TSTR
|
| 23 |
against TRTR in 14 classification and regression tasks), memorisation and cost.
|
| 24 |
|
| 25 |
+
This dataset holds **3,220 synthetic long hourly series and 63,000 synthetic windows** generated from seven open
|
| 26 |
+
datasets by 30 methods — window assembly from generated pools and long-series generators — together with
|
| 27 |
+
everything measured on them: per-series fidelity metrics, utility predictions, run records, the collected
|
| 28 |
+
tables, the rankings and the reports of the two published runs.
|
| 29 |
|
| 30 |
| Resource | Link |
|
| 31 |
|---|---|
|
|
|
|
| 35 |
| Documentation | https://zypl-ai.github.io/MarathonTS |
|
| 36 |
| Leaderboard | https://huggingface.co/spaces/zyplai/MarathonTS |
|
| 37 |
|
| 38 |
+
## Synthetic data
|
| 39 |
+
|
| 40 |
+
| What | Folder | Size | Format |
|
| 41 |
+
|---|---|---|---|
|
| 42 |
+
| **Long series** — assembled from windows (stitched) or generated directly | `<run>/series/<dataset>/<method>/seed<k>.parquet` | 2,100 (`run_h200`) + 1,120 (`run_l4`) series of 5,040 hours (30 weeks) | one row per hour, real units |
|
| 43 |
+
| **Window pools** — generated windows before assembly (not stitched) | `<run>/pools/<dataset>/<generator>/seed<k>.parquet` | 140 pools (`run_h200`: VAE and zEDGE) + 70 (`run_l4`: VAE), 300 windows of 168 hours each | array `(300, 168, 3)` in `[0, 1]` |
|
| 44 |
+
|
| 45 |
+
Datasets: `beijing_pm25`, `bike`, `bitcoin`, `electricity`, `household`, `jena`, `metro` (the synthetic data of ETTh1
|
| 46 |
+
and PJM are withheld for licence reasons, see below), 10 seeds each.
|
| 47 |
+
|
| 48 |
+
**Long series.** Columns: `t` (hour, 0 … 5039), `value` (the synthetic series, in the units of the real one),
|
| 49 |
+
`how` (hour of week, 0–167), `window` (index of the pool window the point comes from; −1 for a long-series
|
| 50 |
+
generator), `piece` (consecutive piece of the series), `seam` (true at the first point after a seam). The method
|
| 51 |
+
name tells how the series was made:
|
| 52 |
+
|
| 53 |
+
- `vae_<assembler>`, `zedge_<assembler>` — assembled from the pool of the VAE or of zEDGE by an assembler
|
| 54 |
+
(`rand` random, `greedy`, `atsp`, `pctsp`, `mbb`, `knn`, `quilting`, `herding`, `zseries`), and
|
| 55 |
+
`<pool>_zseries_{xfade,wsola,quilt}` — the same path with the seams processed;
|
| 56 |
+
- `diffusion_ts`, `chronos`, `timesfm`, `timestral`, `zedge_ts_long`, `zedge_ts_ar` — long-series generators
|
| 57 |
+
(no pool; the seams are the boundaries of their generation chunks).
|
| 58 |
+
|
| 59 |
+
**Window pools.** Channel 0 is the value scaled by min-max on the training split, channels 1–2 the hour of week
|
| 60 |
+
as `(sin + 1) / 2` and `(cos + 1) / 2`. Back to real units: `value = lo + x · (hi − lo)` with `lo`, `hi` of the
|
| 61 |
+
dataset in `<run>/tables/datasets.parquet`.
|
| 62 |
+
|
| 63 |
+
```python
|
| 64 |
+
import json
|
| 65 |
+
import numpy as np
|
| 66 |
+
import pandas as pd
|
| 67 |
+
from huggingface_hub import hf_hub_download
|
| 68 |
+
|
| 69 |
+
repo = dict(repo_id="zyplai/MarathonTS", repo_type="dataset")
|
| 70 |
+
|
| 71 |
+
# one long synthetic series (stitched from zEDGE windows by image quilting)
|
| 72 |
+
series = pd.read_parquet(hf_hub_download(filename="run_h200/series/bike/zedge_quilting/seed0.parquet", **repo))
|
| 73 |
+
|
| 74 |
+
# one pool of 300 generated windows (not stitched), back to real units
|
| 75 |
+
row = pd.read_parquet(hf_hub_download(filename="run_h200/pools/bike/tsgm_vae/seed0.parquet", **repo)).iloc[0]
|
| 76 |
+
pool = np.frombuffer(row["data"], dtype=row["dtype"]).reshape(json.loads(row["shape"])) # (300, 168, 3)
|
| 77 |
+
ds = pd.read_parquet(hf_hub_download(filename="run_h200/tables/datasets.parquet", **repo)).set_index("name")
|
| 78 |
+
windows = ds.at["bike", "lo"] + pool[:, :, 0] * (ds.at["bike", "hi"] - ds.at["bike", "lo"]) # (300, 168)
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
Every synthetic series has its fidelity metrics in `fidelity/` and its utility in `utility/` and
|
| 82 |
+
`tables/utility.parquet`, so a series can be chosen by quality. All series of one folder:
|
| 83 |
+
`snapshot_download(**repo, allow_patterns=["run_h200/series/**"], local_dir="marathonts")`.
|
| 84 |
+
|
| 85 |
## Two runs
|
| 86 |
|
| 87 |
| | `run_h200/` — main run | `run_l4/` — replication run |
|