omkar334 commited on
Commit
fdae61f
·
verified ·
1 Parent(s): 0d25b31

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -57,3 +57,12 @@ 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
+ PSM/test.csv filter=lfs diff=lfs merge=lfs -text
61
+ PSM/train.csv filter=lfs diff=lfs merge=lfs -text
62
+ SWaT/SWaT_Dataset_Attack_v0.xlsx filter=lfs diff=lfs merge=lfs -text
63
+ SWaT/SWaT_Dataset_Normal_v1.xlsx filter=lfs diff=lfs merge=lfs -text
64
+ SWaT/swat2.csv filter=lfs diff=lfs merge=lfs -text
65
+ SWaT/swat_raw.csv filter=lfs diff=lfs merge=lfs -text
66
+ SWaT/swat_train.csv filter=lfs diff=lfs merge=lfs -text
67
+ SWaT/swat_train2.csv filter=lfs diff=lfs merge=lfs -text
68
+ electricity/electricity.csv 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
 
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
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.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
electricity/electricity.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e45845d54c5219bad0ae6bc1b5316cf8ff9cead5d33fa998a5a51c2e4a497ad
3
+ size 95581762
weather/weather.csv ADDED
The diff for this file is too large to render. See raw diff