Datasets:
ZDandsomSP
commited on
Commit
•
04ac939
1
Parent(s):
27c4ed8
fix readme
Browse files
README.md
CHANGED
@@ -1,129 +1,131 @@
|
|
1 |
-
---
|
2 |
-
license: apache-2.0
|
3 |
-
configs:
|
4 |
-
- config_name: default
|
5 |
-
data_files:
|
6 |
-
- split: train
|
7 |
-
path: "*/*.arrow"
|
8 |
-
- config_name: "UTSD-1G"
|
9 |
-
data_files:
|
10 |
-
- split: train
|
11 |
-
path: "UTSD-1G/*.arrow"
|
12 |
-
- config_name: "UTSD-2G"
|
13 |
-
data_files:
|
14 |
-
- split: train
|
15 |
-
path: "UTSD-2G/*.arrow"
|
16 |
-
- config_name: "UTSD-4G"
|
17 |
-
data_files:
|
18 |
-
- split: train
|
19 |
-
path: "UTSD-4G/*.arrow"
|
20 |
-
- config_name: "UTSD-12G"
|
21 |
-
data_files:
|
22 |
-
- split: train
|
23 |
-
path: "UTSD-12G/*.arrow"
|
24 |
-
---
|
25 |
-
|
26 |
-
# Unified Time Series Dataset (UTSD)
|
27 |
-
|
28 |
-
## Introduction
|
29 |
-
|
30 |
-
We curate **Unified Time Series Dataset (UTSD)** that includes **7 domains** with up to **1 billion time points** with hierarchical capacities to facilitate research of scalability and domain transfer.
|
31 |
-
|
32 |
-
<p align="center">
|
33 |
-
<img src="./figures/utsd.png" alt="" align=center />
|
34 |
-
</p>
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
| Energy
|
49 |
-
| Energy |
|
50 |
-
|
|
51 |
-
| Environment
|
52 |
-
| Environment |
|
53 |
-
|
|
54 |
-
| Health
|
55 |
-
| Health |
|
56 |
-
| Health |
|
57 |
-
| Health |
|
58 |
-
| Health |
|
59 |
-
| Health |
|
60 |
-
| Health |
|
61 |
-
| Health |
|
62 |
-
|
|
63 |
-
|
|
64 |
-
| Nature
|
65 |
-
| Nature |
|
66 |
-
| Nature | ERA5
|
67 |
-
| Nature |
|
68 |
-
| Nature |
|
69 |
-
| Nature |
|
70 |
-
| Nature |
|
71 |
-
| Nature |
|
72 |
-
| Nature |
|
73 |
-
| Nature |
|
74 |
-
|
|
75 |
-
|
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
[
|
81 |
-
[
|
82 |
-
[
|
83 |
-
[
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
<
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
```
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
}
|
|
|
|
|
129 |
```
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
configs:
|
4 |
+
- config_name: default
|
5 |
+
data_files:
|
6 |
+
- split: train
|
7 |
+
path: "*/*.arrow"
|
8 |
+
- config_name: "UTSD-1G"
|
9 |
+
data_files:
|
10 |
+
- split: train
|
11 |
+
path: "UTSD-1G/*.arrow"
|
12 |
+
- config_name: "UTSD-2G"
|
13 |
+
data_files:
|
14 |
+
- split: train
|
15 |
+
path: "UTSD-2G/*.arrow"
|
16 |
+
- config_name: "UTSD-4G"
|
17 |
+
data_files:
|
18 |
+
- split: train
|
19 |
+
path: "UTSD-4G/*.arrow"
|
20 |
+
- config_name: "UTSD-12G"
|
21 |
+
data_files:
|
22 |
+
- split: train
|
23 |
+
path: "UTSD-12G/*.arrow"
|
24 |
+
---
|
25 |
+
|
26 |
+
# Unified Time Series Dataset (UTSD)
|
27 |
+
|
28 |
+
## Introduction
|
29 |
+
|
30 |
+
We curate **Unified Time Series Dataset (UTSD)** that includes **7 domains** with up to **1 billion time points** with hierarchical capacities to facilitate research of scalability and domain transfer.
|
31 |
+
|
32 |
+
<p align="center">
|
33 |
+
<img src="./figures/utsd.png" alt="" align=center />
|
34 |
+
</p>
|
35 |
+
|
36 |
+
**Unified Time Series Dataset (UTSD)** is meticulously assembled from a blend of publicly accessible online data repositories and empirical data derived from real-world machine operations.
|
37 |
+
|
38 |
+
All datasets are classified into seven distinct domains by their source: **Energy, Environment, Health, Internet of Things (IoT), Nature, Transportation, and Web** with diverse sampling frequencies.
|
39 |
+
|
40 |
+
See the [paper](https://arxiv.org/abs/2402.02368) and [codebase](https://github.com/thuml/Large-Time-Series-Model) for more information.
|
41 |
+
|
42 |
+
## Dataset detailed descriptions.
|
43 |
+
|
44 |
+
We analyze each dataset within our collection, examining the time series through the lenses of stationarity and forecastability to allows us to characterize the level of complexity inherent to each dataset.
|
45 |
+
|
46 |
+
| Domain | Dataset | Time Points | File Size | Freq. | ADF. | Forecast. | Source |
|
47 |
+
|--------------|----------------------------------|-------------|-----------|-------|---------|-----------|-------------------------------------------|
|
48 |
+
| Energy | London Smart Meters | 166.50M | 4120M | Hourly| -13.158 | 0.173 | [1] |
|
49 |
+
| Energy | Wind Farms | 7.40M | 179M | 4 sec | -29.174 | 0.811 | [1] |
|
50 |
+
| Energy | Aus. Electricity Demand | 1.16M | 35M | 30 min| -27.554 | 0.730 | [1] |
|
51 |
+
| Environment | AustraliaRainfall | 11.54M | 54M | Hourly| -150.10 | 0.458 | [2] |
|
52 |
+
| Environment | BeijingPM25Quality | 3.66M | 26M | Hourly| -31.415 | 0.404 | [2] |
|
53 |
+
| Environment | BenzeneConcentration | 16.34M | 206M | Hourly| -65.187 | 0.526 | [2] |
|
54 |
+
| Health | MotorImagery | 72.58M | 514M | 0.001 sec| -3.132 | 0.449 | [3] |
|
55 |
+
| Health | SelfRegulationSCP1 | 3.02M | 18M | 0.004 sec| -3.191 | 0.504 | [3] |
|
56 |
+
| Health | SelfRegulationSCP2 | 3.06M | 18M | 0.004 sec| -2.715 | 0.481 | [3] |
|
57 |
+
| Health | AtrialFibrillation | 0.04M | 1M | 0.008 sec| -7.061 | 0.167 | [3] |
|
58 |
+
| Health | PigArtPressure | 0.62M | 7M | - | -7.649 | 0.739 | [3] |
|
59 |
+
| Health | PigCVP | 0.62M | 7M | - | -4.855 | 0.577 | [3] |
|
60 |
+
| Health | IEEEPPG | 15.48M | 136M | 0.008 sec| -7.725 | 0.380 | [2] |
|
61 |
+
| Health | BIDMC32HR | 63.59M | 651M | - | -14.135 | 0.523 | [2] |
|
62 |
+
| Health | TDBrain | 72.30M | 1333M | 0.002 sec| -3.167 | 0.967 | [5] |
|
63 |
+
| IoT | SensorData | 165.4M | 2067M | 0.02 sec| -15.892 | 0.917 | Real-world machine logs |
|
64 |
+
| Nature | Phoneme | 2.16M | 25M | - | -8.506 | 0.243 | [3] |
|
65 |
+
| Nature | EigenWorms | 27.95M | 252M | - | -12.201 | 0.393 | [3] |
|
66 |
+
| Nature | ERA5 Surface | 58.44M | 574M | 3 h | -28.263 | 0.493 | [4] |
|
67 |
+
| Nature | ERA5 Pressure | 116.88M | 1083M | 3h | -22.001 | 0.853 | [4] |
|
68 |
+
| Nature | Temperature Rain | 23.25M | 109M | Daily | -10.952 | 0.133 | [1] |
|
69 |
+
| Nature | StarLightCurves | 9.46M | 109M | - | -1.891 | 0.555 | [3] |
|
70 |
+
| Nature | Saugen River Flow | 0.02M | 1M | Daily | -19.305 | 0.300 | [1] |
|
71 |
+
| Nature | KDD Cup 2018 | 2.94M | 67M | Hourly | -10.107 | 0.362 | [1] |
|
72 |
+
| Nature | US Births | 0.00M | 1M | Daily | -3.352 | 0.675 | [1] |
|
73 |
+
| Nature | Sunspot | 0.07M | 2M | Daily | -7.866 | 0.287 | [1] |
|
74 |
+
| Nature | Worms | 0.23M | 4M | 0.033 sec| -3.851 | 0.395 | [3] |
|
75 |
+
| Transport | Pedestrian Counts | 3.13M | 72M | Hourly | -23.462 | 0.297 | [1] |
|
76 |
+
| Web | Web Traffic | 116.49M | 388M | Daily | -8.272 | 0.299 | [1] |
|
77 |
+
|
78 |
+
You can find the specific source address in `source.csv`.
|
79 |
+
|
80 |
+
[1]: [Monash Time Series Forecasting Archive](https://arxiv.org/abs/2105.06643)
|
81 |
+
[2]: [Time series extrinsic regression Predicting numeric values from time series data](https://link.springer.com/article/10.1007/s10618-021-00745-9)
|
82 |
+
[3]: [The UCR Time Series Archive](https://arxiv.org/abs/1810.07758)
|
83 |
+
[4]: [ERA5-Land: a state-of-the-art global reanalysis dataset for land applications](https://essd.copernicus.org/articles/13/4349/2021/)
|
84 |
+
[5]: [Contrast Everything: A Hierarchical Contrastive Framework for Medical Time-Series](https://arxiv.org/abs/2310.14017)
|
85 |
+
|
86 |
+
|
87 |
+
## Hierarchy of Datasets
|
88 |
+
|
89 |
+
UTSD is constructed with hierarchical capacities, namely **UTSD-1G, UTSD-2G, UTSD-4G, and UTSD-12G**, where each smaller dataset is a subset of the larger ones. A larger subset means greater data **difficulty** and **diversity**, allowing you to conduct detailed scaling experiments.
|
90 |
+
|
91 |
+
<p align="center">
|
92 |
+
<img src="./figures/utsd_complexity.png" alt="" align=center />
|
93 |
+
</p>
|
94 |
+
|
95 |
+
## Usage
|
96 |
+
|
97 |
+
You can load UTSD according to the following code:
|
98 |
+
|
99 |
+
```python
|
100 |
+
import datasets
|
101 |
+
|
102 |
+
# Load UTSD dataset
|
103 |
+
UTSD_12G = datasets.load_from_disk('UTSD-12G')
|
104 |
+
print(UTSD_12G)
|
105 |
+
for item in UTSD_12G:
|
106 |
+
print(item.keys(), 'len of target:', len(item['target']))
|
107 |
+
```
|
108 |
+
|
109 |
+
It should be noted that due to the construction of our dataset with diverse lengths, the sequence lengths of different samples vary. You can construct the data organization logic according to your own needs.
|
110 |
+
|
111 |
+
In addition, we provide code `dataset_evaluation.py` for evaluating time series datasets, which you can use to evaluate your Huggingface formatted dataset. The usage of this script is as follows:
|
112 |
+
|
113 |
+
```bash
|
114 |
+
python dataset_evaluation.py --root_path <dataset root path> --log_path <output log path>
|
115 |
+
```
|
116 |
+
|
117 |
+
## Citation
|
118 |
+
|
119 |
+
|
120 |
+
If you're using UTSD in your research or applications, please cite it using this BibTeX:
|
121 |
+
|
122 |
+
**BibTeX:**
|
123 |
+
|
124 |
+
```markdown
|
125 |
+
@article{liu2024timer,
|
126 |
+
title={Timer: Transformers for Time Series Analysis at Scale},
|
127 |
+
author={Liu, Yong and Zhang, Haoran and Li, Chenyu and Huang, Xiangdong and Wang, Jianmin and Long, Mingsheng},
|
128 |
+
journal={arXiv preprint arXiv:2402.02368},
|
129 |
+
year={2024}
|
130 |
+
}
|
131 |
```
|