Datasets:
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .DS_Store +0 -0
- .gitattributes +4 -0
- ETT-small/ETTh1.csv +0 -0
- ETT-small/ETTh2.csv +0 -0
- ETT-small/ETTm1.csv +0 -0
- ETT-small/ETTm2.csv +0 -0
- EthanolConcentration/EthanolConcentration_TEST.ts +0 -0
- EthanolConcentration/EthanolConcentration_TRAIN.ts +0 -0
- FaceDetection/FaceDetection_TEST.ts +3 -0
- FaceDetection/FaceDetection_TRAIN.ts +3 -0
- Handwriting/Handwriting_TEST.ts +0 -0
- Handwriting/Handwriting_TRAIN.ts +0 -0
- Heartbeat/Heartbeat_TEST.ts +3 -0
- Heartbeat/Heartbeat_TRAIN.ts +3 -0
- JapaneseVowels/JapaneseVowels_TEST.ts +0 -0
- JapaneseVowels/JapaneseVowels_TRAIN.ts +0 -0
- MSL/.DS_Store +0 -0
- MSL/MSL_test.npy +3 -0
- MSL/MSL_test_label.npy +3 -0
- MSL/MSL_train.npy +3 -0
- PEMS-SF/PEMS-SF_TEST.ts +3 -0
- PEMS-SF/PEMS-SF_TRAIN.ts +3 -0
- PSM/test.csv +3 -0
- PSM/test_label.csv +0 -0
- PSM/train.csv +3 -0
- README.md +312 -3
- SMAP/SMAP_test.npy +3 -0
- SMAP/SMAP_test_label.npy +3 -0
- SMAP/SMAP_train.npy +3 -0
- SMD/SMD_test.npy +3 -0
- SMD/SMD_test.pkl +3 -0
- SMD/SMD_test_label.npy +3 -0
- SMD/SMD_test_label.pkl +3 -0
- SMD/SMD_train.npy +3 -0
- SMD/SMD_train.pkl +3 -0
- SWaT/SWaT_Dataset_Attack_v0.xlsx +3 -0
- SWaT/SWaT_Dataset_Normal_v1.xlsx +3 -0
- SWaT/data.py +50 -0
- SWaT/swat2.csv +3 -0
- SWaT/swat_raw.csv +3 -0
- SWaT/swat_train.csv +3 -0
- SWaT/swat_train2.csv +3 -0
- SelfRegulationSCP1/SelfRegulationSCP1_TEST.ts +0 -0
- SelfRegulationSCP1/SelfRegulationSCP1_TRAIN.ts +0 -0
- SelfRegulationSCP2/SelfRegulationSCP2_TEST.ts +0 -0
- SelfRegulationSCP2/SelfRegulationSCP2_TRAIN.ts +0 -0
- SpokenArabicDigits/SpokenArabicDigits_TEST.ts +0 -0
- SpokenArabicDigits/SpokenArabicDigits_TRAIN.ts +3 -0
- UWaveGestureLibrary/UWaveGestureLibrary_TEST.ts +0 -0
- UWaveGestureLibrary/UWaveGestureLibrary_TRAIN.ts +0 -0
.DS_Store
ADDED
|
Binary file (10.2 kB). View file
|
|
|
.gitattributes
CHANGED
|
@@ -57,3 +57,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
# Time-series specific
|
| 61 |
+
*.ts filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
*.xlsx filter=lfs diff=lfs merge=lfs -text
|
ETT-small/ETTh1.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
ETT-small/ETTh2.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
ETT-small/ETTm1.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
ETT-small/ETTm2.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
EthanolConcentration/EthanolConcentration_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
EthanolConcentration/EthanolConcentration_TRAIN.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
FaceDetection/FaceDetection_TEST.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:070529a75e0c8c94d9c7e48a145ad441012d09dcd94e4c8da0cba537248dccd4
|
| 3 |
+
size 295402468
|
FaceDetection/FaceDetection_TRAIN.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afaed1f9f315f71369c591ac8ae7981c7424eaec639ee620fd91a9b26cf19499
|
| 3 |
+
size 493652128
|
Handwriting/Handwriting_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Handwriting/Handwriting_TRAIN.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
Heartbeat/Heartbeat_TEST.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0891d32cf46e52d4c38c6ce3c0d00180ebd18352d4654e209972d413169a96a9
|
| 3 |
+
size 44006251
|
Heartbeat/Heartbeat_TRAIN.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c9b4e877d94e64f70b5bb8a063c7712d41b2f09290236745c9b6db08d87513a
|
| 3 |
+
size 43796926
|
JapaneseVowels/JapaneseVowels_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
JapaneseVowels/JapaneseVowels_TRAIN.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
MSL/.DS_Store
ADDED
|
Binary file (6.15 kB). View file
|
|
|
MSL/MSL_test.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8b479ebeeabb63ff636e8adeb095a7bcc46a0cdc7befa189b45b05b1e90c9425
|
| 3 |
+
size 32440888
|
MSL/MSL_test_label.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23e120c30a645000f093ff5311de177601b8220ba3ca4281c6376883444f7b97
|
| 3 |
+
size 73857
|
MSL/MSL_train.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d767ecfc8ea344f7a6e78f815a84dc7923f600df1beb14359f3e73202148b058
|
| 3 |
+
size 25659608
|
PEMS-SF/PEMS-SF_TEST.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f0306cc5943674a9b6531cff4d24e8e4c0360480ada8838bbf4015cdf26608b
|
| 3 |
+
size 165185278
|
PEMS-SF/PEMS-SF_TRAIN.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f84939377b2c16ef0df6d135154bfcf684a76d86a4095b43900df75adf64f78
|
| 3 |
+
size 254935750
|
PSM/test.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:566bc50117d13f58793d830c14975c55f627cab63953265d7d6ce2dbcf2b0f80
|
| 3 |
+
size 42523490
|
PSM/test_label.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
PSM/train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs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series
|
| 4 |
+
- forecasting
|
| 5 |
+
- anomaly-detection
|
| 6 |
+
- classification
|
| 7 |
+
- TSLib
|
| 8 |
+
license: cc-by-4.0
|
| 9 |
+
task_categories:
|
| 10 |
+
- time-series-forecasting
|
| 11 |
+
pretty_name: Time-Series-Library (TSLib)
|
| 12 |
+
language:
|
| 13 |
+
- en
|
| 14 |
+
configs:
|
| 15 |
+
- config_name: ETTh1
|
| 16 |
+
description: ETT long-term forecasting subset ETTh1 (hourly).
|
| 17 |
+
data_files:
|
| 18 |
+
- ETT-small/ETTh1.csv
|
| 19 |
+
- config_name: ETTh2
|
| 20 |
+
description: ETT long-term forecasting subset ETTh2 (hourly).
|
| 21 |
+
data_files:
|
| 22 |
+
- ETT-small/ETTh2.csv
|
| 23 |
+
- config_name: ETTm1
|
| 24 |
+
description: ETT long-term forecasting subset ETTm1 (15-min).
|
| 25 |
+
data_files:
|
| 26 |
+
- ETT-small/ETTm1.csv
|
| 27 |
+
- config_name: ETTm2
|
| 28 |
+
description: ETT long-term forecasting subset ETTm2 (15-min).
|
| 29 |
+
data_files:
|
| 30 |
+
- ETT-small/ETTm2.csv
|
| 31 |
+
- config_name: electricity
|
| 32 |
+
description: Electricity load forecasting (UCI Electricity).
|
| 33 |
+
data_files:
|
| 34 |
+
- electricity/electricity.csv
|
| 35 |
+
- config_name: traffic
|
| 36 |
+
description: Traffic volume forecasting.
|
| 37 |
+
data_files:
|
| 38 |
+
- traffic/traffic.csv
|
| 39 |
+
- config_name: weather
|
| 40 |
+
description: Weather time-series forecasting.
|
| 41 |
+
data_files:
|
| 42 |
+
- weather/weather.csv
|
| 43 |
+
- config_name: exchange_rate
|
| 44 |
+
description: Exchange rate forecasting.
|
| 45 |
+
data_files:
|
| 46 |
+
- exchange_rate/exchange_rate.csv
|
| 47 |
+
- config_name: national_illness
|
| 48 |
+
description: Influenza-like illness (ILI) forecasting.
|
| 49 |
+
data_files:
|
| 50 |
+
- illness/national_illness.csv
|
| 51 |
+
- config_name: m4-yearly
|
| 52 |
+
description: M4 Yearly forecasting subset.
|
| 53 |
+
data_files:
|
| 54 |
+
- split: train
|
| 55 |
+
path: m4/Yearly-train.csv
|
| 56 |
+
- split: test
|
| 57 |
+
path: m4/Yearly-test.csv
|
| 58 |
+
- config_name: m4-quarterly
|
| 59 |
+
description: M4 Quarterly forecasting subset.
|
| 60 |
+
data_files:
|
| 61 |
+
- split: train
|
| 62 |
+
path: m4/Quarterly-train.csv
|
| 63 |
+
- split: test
|
| 64 |
+
path: m4/Quarterly-test.csv
|
| 65 |
+
- config_name: m4-monthly
|
| 66 |
+
description: M4 Monthly forecasting subset.
|
| 67 |
+
data_files:
|
| 68 |
+
- split: train
|
| 69 |
+
path: m4/Monthly-train.csv
|
| 70 |
+
- split: test
|
| 71 |
+
path: m4/Monthly-test.csv
|
| 72 |
+
- config_name: m4-weekly
|
| 73 |
+
description: M4 Weekly forecasting subset.
|
| 74 |
+
data_files:
|
| 75 |
+
- split: train
|
| 76 |
+
path: m4/Weekly-train.csv
|
| 77 |
+
- split: test
|
| 78 |
+
path: m4/Weekly-test.csv
|
| 79 |
+
- config_name: m4-daily
|
| 80 |
+
description: M4 Daily forecasting subset.
|
| 81 |
+
data_files:
|
| 82 |
+
- split: train
|
| 83 |
+
path: m4/Daily-train.csv
|
| 84 |
+
- split: test
|
| 85 |
+
path: m4/Daily-test.csv
|
| 86 |
+
- config_name: m4-hourly
|
| 87 |
+
description: M4 Hourly forecasting subset.
|
| 88 |
+
data_files:
|
| 89 |
+
- split: train
|
| 90 |
+
path: m4/Hourly-train.csv
|
| 91 |
+
- split: test
|
| 92 |
+
path: m4/Hourly-test.csv
|
| 93 |
+
- config_name: EthanolConcentration
|
| 94 |
+
description: 'UEA multivariate classification: EthanolConcentration.'
|
| 95 |
+
data_files:
|
| 96 |
+
- split: train
|
| 97 |
+
path: EthanolConcentration/EthanolConcentration_TRAIN.ts
|
| 98 |
+
- split: test
|
| 99 |
+
path: EthanolConcentration/EthanolConcentration_TEST.ts
|
| 100 |
+
- config_name: FaceDetection
|
| 101 |
+
description: 'UEA multivariate classification: FaceDetection.'
|
| 102 |
+
data_files:
|
| 103 |
+
- split: train
|
| 104 |
+
path: FaceDetection/FaceDetection_TRAIN.ts
|
| 105 |
+
- split: test
|
| 106 |
+
path: FaceDetection/FaceDetection_TEST.ts
|
| 107 |
+
- config_name: Handwriting
|
| 108 |
+
description: 'UEA multivariate classification: Handwriting.'
|
| 109 |
+
data_files:
|
| 110 |
+
- split: train
|
| 111 |
+
path: Handwriting/Handwriting_TRAIN.ts
|
| 112 |
+
- split: test
|
| 113 |
+
path: Handwriting/Handwriting_TEST.ts
|
| 114 |
+
- config_name: Heartbeat
|
| 115 |
+
description: 'UEA multivariate classification: Heartbeat.'
|
| 116 |
+
data_files:
|
| 117 |
+
- split: train
|
| 118 |
+
path: Heartbeat/Heartbeat_TRAIN.ts
|
| 119 |
+
- split: test
|
| 120 |
+
path: Heartbeat/Heartbeat_TEST.ts
|
| 121 |
+
- config_name: JapaneseVowels
|
| 122 |
+
description: 'UEA multivariate classification: JapaneseVowels.'
|
| 123 |
+
data_files:
|
| 124 |
+
- split: train
|
| 125 |
+
path: JapaneseVowels/JapaneseVowels_TRAIN.ts
|
| 126 |
+
- split: test
|
| 127 |
+
path: JapaneseVowels/JapaneseVowels_TEST.ts
|
| 128 |
+
- config_name: PEMS-SF
|
| 129 |
+
description: 'UEA multivariate classification: PEMS-SF.'
|
| 130 |
+
data_files:
|
| 131 |
+
- split: train
|
| 132 |
+
path: PEMS-SF/PEMS-SF_TRAIN.ts
|
| 133 |
+
- split: test
|
| 134 |
+
path: PEMS-SF/PEMS-SF_TEST.ts
|
| 135 |
+
- config_name: SelfRegulationSCP1
|
| 136 |
+
description: 'UEA multivariate classification: SelfRegulationSCP1.'
|
| 137 |
+
data_files:
|
| 138 |
+
- split: train
|
| 139 |
+
path: SelfRegulationSCP1/SelfRegulationSCP1_TRAIN.ts
|
| 140 |
+
- split: test
|
| 141 |
+
path: SelfRegulationSCP1/SelfRegulationSCP1_TEST.ts
|
| 142 |
+
- config_name: SelfRegulationSCP2
|
| 143 |
+
description: 'UEA multivariate classification: SelfRegulationSCP2.'
|
| 144 |
+
data_files:
|
| 145 |
+
- split: train
|
| 146 |
+
path: SelfRegulationSCP2/SelfRegulationSCP2_TRAIN.ts
|
| 147 |
+
- split: test
|
| 148 |
+
path: SelfRegulationSCP2/SelfRegulationSCP2_TEST.ts
|
| 149 |
+
- config_name: SpokenArabicDigits
|
| 150 |
+
description: 'UEA multivariate classification: SpokenArabicDigits.'
|
| 151 |
+
data_files:
|
| 152 |
+
- split: train
|
| 153 |
+
path: SpokenArabicDigits/SpokenArabicDigits_TRAIN.ts
|
| 154 |
+
- split: test
|
| 155 |
+
path: SpokenArabicDigits/SpokenArabicDigits_TEST.ts
|
| 156 |
+
- config_name: UWaveGestureLibrary
|
| 157 |
+
description: 'UEA multivariate classification: UWaveGestureLibrary.'
|
| 158 |
+
data_files:
|
| 159 |
+
- split: train
|
| 160 |
+
path: UWaveGestureLibrary/UWaveGestureLibrary_TRAIN.ts
|
| 161 |
+
- split: test
|
| 162 |
+
path: UWaveGestureLibrary/UWaveGestureLibrary_TEST.ts
|
| 163 |
+
- config_name: SMD-data
|
| 164 |
+
description: Server Machine Dataset (SMD) for anomaly detection — train & test data.
|
| 165 |
+
data_files:
|
| 166 |
+
- split: train
|
| 167 |
+
path: SMD/SMD_train.npy
|
| 168 |
+
- split: test
|
| 169 |
+
path: SMD/SMD_test.npy
|
| 170 |
+
- config_name: SMD-label
|
| 171 |
+
description: Server Machine Dataset (SMD) — test anomaly labels.
|
| 172 |
+
data_files:
|
| 173 |
+
- split: test_label
|
| 174 |
+
path: SMD/SMD_test_label.npy
|
| 175 |
+
- config_name: MSL-data
|
| 176 |
+
description: NASA Mars Science Laboratory (MSL) anomaly detection — train/test arrays.
|
| 177 |
+
data_files:
|
| 178 |
+
- split: train
|
| 179 |
+
path: MSL/MSL_train.npy
|
| 180 |
+
- split: test
|
| 181 |
+
path: MSL/MSL_test.npy
|
| 182 |
+
- config_name: MSL-label
|
| 183 |
+
description: MSL anomaly detection — test labels.
|
| 184 |
+
data_files:
|
| 185 |
+
- split: test_label
|
| 186 |
+
path: MSL/MSL_test_label.npy
|
| 187 |
+
- config_name: SMAP-data
|
| 188 |
+
description: >-
|
| 189 |
+
NASA Soil Moisture Active Passive (SMAP) anomaly detection — train/test
|
| 190 |
+
arrays.
|
| 191 |
+
data_files:
|
| 192 |
+
- split: train
|
| 193 |
+
path: SMAP/SMAP_train.npy
|
| 194 |
+
- split: test
|
| 195 |
+
path: SMAP/SMAP_test.npy
|
| 196 |
+
- config_name: SMAP-label
|
| 197 |
+
description: SMAP anomaly detection — test labels.
|
| 198 |
+
data_files:
|
| 199 |
+
- split: test_label
|
| 200 |
+
path: SMAP/SMAP_test_label.npy
|
| 201 |
+
- config_name: PSM-data
|
| 202 |
+
description: KPI-based Process/System Monitoring data (train/test).
|
| 203 |
+
data_files:
|
| 204 |
+
- split: train
|
| 205 |
+
path: PSM/train.csv
|
| 206 |
+
- split: test
|
| 207 |
+
path: PSM/test.csv
|
| 208 |
+
- config_name: PSM-label
|
| 209 |
+
description: KPI-based Process/System Monitoring labels (test_label).
|
| 210 |
+
data_files:
|
| 211 |
+
- split: test_label
|
| 212 |
+
path: PSM/test_label.csv
|
| 213 |
+
- config_name: SWaT
|
| 214 |
+
description: Secure Water Treatment (SWaT) anomaly detection, processed data.
|
| 215 |
+
data_files:
|
| 216 |
+
- split: train
|
| 217 |
+
path: SWaT/swat_train2.csv
|
| 218 |
+
- split: test
|
| 219 |
+
path: SWaT/swat2.csv
|
| 220 |
+
size_categories:
|
| 221 |
+
- 10M<n<100M
|
| 222 |
+
---
|
| 223 |
+
|
| 224 |
+
|
| 225 |
+
# Time-Series-Library (TSLib)
|
| 226 |
+
|
| 227 |
+
TSLib is an open-source library for deep learning researchers, especially for deep time series analysis.
|
| 228 |
+
|
| 229 |
+
We provide a neat code base to evaluate advanced deep time series models or develop your model, which covers five mainstream tasks: **long- and short-term forecasting, imputation, anomaly detection, and classification.**
|
| 230 |
+
|
| 231 |
+
This benchmark collection is designed to evaluate and develop advanced deep time-series models. For an in-depth exploration of current time-series models and their performance, please refer to our paper **[Deep Time Series Models: A Comprehensive Survey and Benchmark](https://arxiv.org/abs/2407.13278)**.
|
| 232 |
+
|
| 233 |
+
To get started with the codebase and contribute, please visit the **[GitHub repository](https://github.com/thuml/Time-Series-Library)**.
|
| 234 |
+
|
| 235 |
+
## Dataset Overview
|
| 236 |
+
|
| 237 |
+
| **Tasks** | **Benchmarks** | **Metrics** | **Series Length** |
|
| 238 |
+
|-------------------|-------------------------------------------------------------------------------|--------------------------------------|-----------------------|
|
| 239 |
+
| **Forecasting** | **Long-term:** ETT (4 subsets), Electricity, Traffic, Weather, Exchange, ILI | MSE, MAE | 96\~720 (ILI: 24\~60) |
|
| 240 |
+
| | **Short-term:** M4 (6 subsets) | SMAPE, MASE, OWA | 6\~48 |
|
| 241 |
+
| **Imputation** | ETT (4 subsets), Electricity, Weather | MSE, MAE | 96 |
|
| 242 |
+
| **Classification** | UEA (10 subsets) | Accuracy | 29\~1751 |
|
| 243 |
+
| **Anomaly Detection** | SMD, MSL, SMAP, SWaT, PSM | Precision, Recall, F1-Score | 100 |
|
| 244 |
+
|
| 245 |
+
|
| 246 |
+
## File Structure
|
| 247 |
+
```
|
| 248 |
+
Time-Series-Library/
|
| 249 |
+
├── ETT-small/
|
| 250 |
+
├── EthanolConcentration/
|
| 251 |
+
├── FaceDetection/
|
| 252 |
+
├── Handwriting/
|
| 253 |
+
├── Heartbeat/
|
| 254 |
+
├── JapaneseVowels/
|
| 255 |
+
├── MSL/
|
| 256 |
+
├── PEMS-SF/
|
| 257 |
+
├── PSM/
|
| 258 |
+
├── SMAP/
|
| 259 |
+
├── SMD/
|
| 260 |
+
├── SWaT/
|
| 261 |
+
├── SelfRegulationSCP1/
|
| 262 |
+
├── SelfRegulationSCP2/
|
| 263 |
+
├── SpokenArabicDigits/
|
| 264 |
+
├── UWaveGestureLibrary/
|
| 265 |
+
├── electricity/
|
| 266 |
+
├── exchange_rate/
|
| 267 |
+
├── illness/
|
| 268 |
+
├── m4/
|
| 269 |
+
├── traffic/
|
| 270 |
+
├── weather/
|
| 271 |
+
├── .gitattributes
|
| 272 |
+
└── README.md
|
| 273 |
+
```
|
| 274 |
+
|
| 275 |
+
## Usage
|
| 276 |
+
|
| 277 |
+
You can load the dataset directly using the `datasets` library:
|
| 278 |
+
|
| 279 |
+
```
|
| 280 |
+
from datasets import load_dataset
|
| 281 |
+
dataset = load_dataset("thuml/Time-Series-Library", "ETTh1")
|
| 282 |
+
```
|
| 283 |
+
|
| 284 |
+
Or download specific files with hf_hub_download:
|
| 285 |
+
|
| 286 |
+
```
|
| 287 |
+
from huggingface_hub import hf_hub_download
|
| 288 |
+
hf_hub_download("thuml/Time-Series-Library", "ETT-small/ETTh1.csv", repo_type="dataset")
|
| 289 |
+
```
|
| 290 |
+
|
| 291 |
+
## License
|
| 292 |
+
This dataset is released under the CC BY 4.0 License.
|
| 293 |
+
|
| 294 |
+
## Citation
|
| 295 |
+
|
| 296 |
+
If you find this repo useful, please cite our paper.
|
| 297 |
+
|
| 298 |
+
```
|
| 299 |
+
@inproceedings{wu2023timesnet,
|
| 300 |
+
title={TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysis},
|
| 301 |
+
author={Haixu Wu and Tengge Hu and Yong Liu and Hang Zhou and Jianmin Wang and Mingsheng Long},
|
| 302 |
+
booktitle={International Conference on Learning Representations},
|
| 303 |
+
year={2023},
|
| 304 |
+
}
|
| 305 |
+
|
| 306 |
+
@article{wang2024tssurvey,
|
| 307 |
+
title={Deep Time Series Models: A Comprehensive Survey and Benchmark},
|
| 308 |
+
author={Yuxuan Wang and Haixu Wu and Jiaxiang Dong and Yong Liu and Mingsheng Long and Jianmin Wang},
|
| 309 |
+
booktitle={arXiv preprint arXiv:2407.13278},
|
| 310 |
+
year={2024},
|
| 311 |
+
}
|
| 312 |
+
```
|
SMAP/SMAP_test.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:458c3b354b6a602b711241c29fb50518dddb0c1c9248d7d2e1691a9c218d4ac0
|
| 3 |
+
size 85523528
|
SMAP/SMAP_test_label.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55f94fcccc3ae35216cfd6ac5e0e2016ad9d08d5ff0aca9f09916c6501380e0f
|
| 3 |
+
size 427745
|
SMAP/SMAP_train.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c823bed59f32d45a2e6323ac79bf7755c80c2ff68a2d3d7322e4dee40a11010
|
| 3 |
+
size 27036728
|
SMD/SMD_test.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64520f6b9351d609bb395e947a3c98f6c513f608c794c571f9a0176d98cdb671
|
| 3 |
+
size 107679968
|
SMD/SMD_test.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8198426451bbcb38b1d12751bf83048ce2fb757438f547fccd835e898db7e61
|
| 3 |
+
size 107680003
|
SMD/SMD_test_label.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:400a29e062ca8c8f8d7e4801c68c35801f3a2180d5d70fe118d6525a33dd3ed2
|
| 3 |
+
size 2833808
|
SMD/SMD_test_label.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ae84fe92808cdac5e15752edd0a1c402c93bebc643f164cc0fe3c9787a42e52
|
| 3 |
+
size 2833841
|
SMD/SMD_train.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef3a4a4e9c87c939c23e0cdf1190c18a1d41ef1aadb5d6c5ae909514332ef791
|
| 3 |
+
size 107677688
|
SMD/SMD_train.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c44c703b1804a00eb9262ca03e7dd0c035d9cdf8d7c48a7aa99c63da3181d1ad
|
| 3 |
+
size 107677723
|
SWaT/SWaT_Dataset_Attack_v0.xlsx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6cc72c24425453879bac1565cae4c6f35ad585a578510ab2a27b325d1bac2e8d
|
| 3 |
+
size 116016616
|
SWaT/SWaT_Dataset_Normal_v1.xlsx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb7bb0a9c10f86ad29d8f2ae4fd09284e7db70c76350f5b2afcca58d9ace6c49
|
| 3 |
+
size 130566907
|
SWaT/data.py
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import xlrd
|
| 2 |
+
import csv
|
| 3 |
+
|
| 4 |
+
'''def xlsx_to_csv():
|
| 5 |
+
workbook = xlrd.open_workbook('SWaT_Dataset_Normal_v1.xlsx')
|
| 6 |
+
table = workbook.sheet_by_index(0)
|
| 7 |
+
with open('swat_train.csv', 'w', encoding='utf-8') as f:
|
| 8 |
+
write = csv.writer(f)
|
| 9 |
+
for row_num in range(table.nrows):
|
| 10 |
+
row_value = table.row_values(row_num)
|
| 11 |
+
write.writerow(row_value)
|
| 12 |
+
|
| 13 |
+
if __name__ == '__main__':
|
| 14 |
+
xlsx_to_csv()'''
|
| 15 |
+
'''import pandas as pd
|
| 16 |
+
import csv
|
| 17 |
+
f = open('swat_train2.csv','w',encoding='utf-8')
|
| 18 |
+
csv_writer = csv.writer(f)
|
| 19 |
+
csv_writer.writerow(['FIT101' ,'LIT101' ,' MV101', 'P101' ,'P102', ' AIT201', 'AIT202',
|
| 20 |
+
'AIT203' ,'FIT201' ,' MV201' ,' P201', ' P202', 'P203' ,' P204', 'P205', 'P206',
|
| 21 |
+
'DPIT301' ,'FIT301', 'LIT301' ,'MV301' ,'MV302', ' MV303', 'MV304' ,'P301'
|
| 22 |
+
, 'P302', 'AIT401', 'AIT402', 'FIT401', 'LIT401', 'P401', 'P402', 'P403', 'P404',
|
| 23 |
+
'UV401' ,'AIT501', 'AIT502', 'AIT503', 'AIT504', 'FIT501', 'FIT502' ,'FIT503',
|
| 24 |
+
'FIT504', 'P501', 'P502', 'PIT501', 'PIT502', 'PIT503', 'FIT601', 'P601', 'P602',
|
| 25 |
+
'P603', 'Normal/Attack'])
|
| 26 |
+
|
| 27 |
+
df = pd.read_csv('swat_train.csv')
|
| 28 |
+
df = df.values
|
| 29 |
+
for u in range(1,len(df)):
|
| 30 |
+
tem = df[u][1:]
|
| 31 |
+
tem2 = []
|
| 32 |
+
for i in range(len(tem)-1):
|
| 33 |
+
tem2.append(float(tem[i]))
|
| 34 |
+
if(tem[-1]=='Normal'):
|
| 35 |
+
tem2.append(0)
|
| 36 |
+
else:
|
| 37 |
+
tem2.append(1)
|
| 38 |
+
csv_writer.writerow(tem2)'''
|
| 39 |
+
import pandas as pd
|
| 40 |
+
df = pd.read_csv('swat_train2.csv')
|
| 41 |
+
df = df.values
|
| 42 |
+
print(df.shape)
|
| 43 |
+
ano = 0
|
| 44 |
+
for u in range(len(df)):
|
| 45 |
+
if(df[u][-1]==1):
|
| 46 |
+
ano = ano+1
|
| 47 |
+
print(ano)
|
| 48 |
+
print(ano/len(df))
|
| 49 |
+
|
| 50 |
+
|
SWaT/swat2.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:23c5bacf78de7527aac031ad43acc7ac99ec49b17b645aaa2a74a4a7d60a0a80
|
| 3 |
+
size 164416771
|
SWaT/swat_raw.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e44e3088f2e012edb2b79315691e1f7da0f855feb994fa28fd3e02ea65575294
|
| 3 |
+
size 133006459
|
SWaT/swat_train.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:18791beeb471336ae26e2a2c58d73ef18f9cffa998304259d9b381de7e57cd05
|
| 3 |
+
size 176313757
|
SWaT/swat_train2.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cfdba4611fd7b093246309eae7b249da05decff8cde640c8283bfef8e6eaf5fb
|
| 3 |
+
size 182817723
|
SelfRegulationSCP1/SelfRegulationSCP1_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
SelfRegulationSCP1/SelfRegulationSCP1_TRAIN.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
SelfRegulationSCP2/SelfRegulationSCP2_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
SelfRegulationSCP2/SelfRegulationSCP2_TRAIN.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
SpokenArabicDigits/SpokenArabicDigits_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
SpokenArabicDigits/SpokenArabicDigits_TRAIN.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77c1650c5f72d418e63848cdb456ee3a27a491e95c142e9cc20855c5aa9758c4
|
| 3 |
+
size 28266699
|
UWaveGestureLibrary/UWaveGestureLibrary_TEST.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
UWaveGestureLibrary/UWaveGestureLibrary_TRAIN.ts
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|