lalababa commited on
Commit
75d8ee6
·
1 Parent(s): b1fbe03

Initial upload of TSLib Benchmarking Datasets

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. ETT-small/ETTh1.csv +3 -0
  2. ETT-small/ETTh2.csv +3 -0
  3. ETT-small/ETTm1.csv +3 -0
  4. ETT-small/ETTm2.csv +3 -0
  5. EthanolConcentration/EthanolConcentration_TEST.ts +3 -0
  6. EthanolConcentration/EthanolConcentration_TRAIN.ts +3 -0
  7. FaceDetection/FaceDetection_TEST.ts +3 -0
  8. FaceDetection/FaceDetection_TRAIN.ts +3 -0
  9. Handwriting/Handwriting_TEST.ts +3 -0
  10. Handwriting/Handwriting_TRAIN.ts +3 -0
  11. Heartbeat/Heartbeat_TEST.ts +3 -0
  12. Heartbeat/Heartbeat_TRAIN.ts +3 -0
  13. JapaneseVowels/JapaneseVowels_TEST.ts +3 -0
  14. JapaneseVowels/JapaneseVowels_TRAIN.ts +3 -0
  15. MSL/.DS_Store +0 -0
  16. MSL/MSL_test.npy +3 -0
  17. MSL/MSL_test_label.npy +3 -0
  18. MSL/MSL_train.npy +3 -0
  19. PEMS-SF/PEMS-SF_TEST.ts +3 -0
  20. PEMS-SF/PEMS-SF_TRAIN.ts +3 -0
  21. PSM/test.csv +3 -0
  22. PSM/test_label.csv +3 -0
  23. PSM/train.csv +3 -0
  24. SMAP/SMAP_test.npy +3 -0
  25. SMAP/SMAP_test_label.npy +3 -0
  26. SMAP/SMAP_train.npy +3 -0
  27. SMD/SMD_test.npy +3 -0
  28. SMD/SMD_test.pkl +3 -0
  29. SMD/SMD_test_label.npy +3 -0
  30. SMD/SMD_test_label.pkl +3 -0
  31. SMD/SMD_train.npy +3 -0
  32. SMD/SMD_train.pkl +3 -0
  33. SWaT/SWaT_Dataset_Attack_v0.xlsx +3 -0
  34. SWaT/SWaT_Dataset_Normal_v1.xlsx +3 -0
  35. SWaT/data.py +50 -0
  36. SWaT/swat2.csv +3 -0
  37. SWaT/swat_raw.csv +3 -0
  38. SWaT/swat_train.csv +3 -0
  39. SWaT/swat_train2.csv +3 -0
  40. SelfRegulationSCP1/SelfRegulationSCP1_TEST.ts +3 -0
  41. SelfRegulationSCP1/SelfRegulationSCP1_TRAIN.ts +3 -0
  42. SelfRegulationSCP2/SelfRegulationSCP2_TEST.ts +3 -0
  43. SelfRegulationSCP2/SelfRegulationSCP2_TRAIN.ts +3 -0
  44. SpokenArabicDigits/SpokenArabicDigits_TEST.ts +3 -0
  45. SpokenArabicDigits/SpokenArabicDigits_TRAIN.ts +3 -0
  46. UWaveGestureLibrary/UWaveGestureLibrary_TEST.ts +3 -0
  47. UWaveGestureLibrary/UWaveGestureLibrary_TRAIN.ts +3 -0
  48. electricity/.DS_Store +0 -0
  49. electricity/electricity.csv +3 -0
  50. exchange_rate/.DS_Store +0 -0
ETT-small/ETTh1.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f18de3ad269cef59bb07b5438d79bb3042d3be49bdeecf01c1cd6d29695ee066
3
+ size 2589657
ETT-small/ETTh2.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3dc2c597b9218c7ce1cd55eb77b283fd459a1d09d753063f944967dd6b9218b
3
+ size 2417960
ETT-small/ETTm1.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ce1759b1a18e3328421d5d75fadcb316c449fcd7cec32820c8dafda71986c9e
3
+ size 10360719
ETT-small/ETTm2.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db973ca252c6410a30d0469b13d696cf919648d0f3fd588c60f03fdbdbadd1fd
3
+ size 9677236
EthanolConcentration/EthanolConcentration_TEST.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66a1ed323a73366b7544b3f980c1a33722beaaabecb87a6a060755ea08a96913
3
+ size 10171799
EthanolConcentration/EthanolConcentration_TRAIN.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3255f7f6c2e0f3f6b4dbb53fee55460baf60c634de54088d6f69660f0b360ba8
3
+ size 10105014
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:156ee781ad41d58b4e5d48a907aef956f5a3756e1ab2d796c785db1a47863524
3
+ size 3343809
Handwriting/Handwriting_TRAIN.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c187e2288bd7f0667ab7453de436feeadb5dd417c5778a6c62b71852b50736cc
3
+ size 591601
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41760aefffc8e4dd221ae33954ddbab2df8c15fd66ca0efe08b744e962311ac2
3
+ size 649208
JapaneseVowels/JapaneseVowels_TRAIN.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72736f735163ce25d1dab5566a1115254601642db12c3b72b3ca5f49aafc95be
3
+ size 488047
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b6b0c716a9b3d52e3a1b06761527811f75a218790c37b8a5e806741aeb0676
3
+ size 966273
PSM/train.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:816e0e2a5356b3b09d356925cd9a0fe1d327e3b350e9336d26ee3e650c72e112
3
+ size 63628087
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:76b76e0fe709e62a7210994c6b5d87d7a5221f02d847129be1a5fa3fe7b7aaf0
3
+ size 9389096
SelfRegulationSCP1/SelfRegulationSCP1_TRAIN.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bb48dac41a53b44402988fda95b9c6de161811b7bf46ba00ffc0a5d927e025f
3
+ size 8452683
SelfRegulationSCP2/SelfRegulationSCP2_TEST.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aaf7f9aef7808377d826104f0bb67c3a50d504eddfe60f6e3169190502642cde
3
+ size 8349428
SelfRegulationSCP2/SelfRegulationSCP2_TRAIN.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d0ef3a7fc63fb19d0245f87574107dd5d9f673fff21080d4d49c6f8eba7020a8
3
+ size 9308948
SpokenArabicDigits/SpokenArabicDigits_TEST.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4c6c528c0dd3089238c925d3f697889c19013930afd151bd8caf00757292fb8
3
+ size 9344215
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
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:517dbc817c3f181c64727a84ee8bd0cedd3554346042898b9107010b690c331a
3
+ size 2445046
UWaveGestureLibrary/UWaveGestureLibrary_TRAIN.ts ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb7cd8cb995775d30dacbfd5c2a9cb3a80dfbd186fd444294bae70c9162dead1
3
+ size 918539
electricity/.DS_Store ADDED
Binary file (6.15 kB). View file
 
electricity/electricity.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e45845d54c5219bad0ae6bc1b5316cf8ff9cead5d33fa998a5a51c2e4a497ad
3
+ size 95581762
exchange_rate/.DS_Store ADDED
Binary file (6.15 kB). View file