-
Notifications
You must be signed in to change notification settings - Fork 1
/
params.py
91 lines (82 loc) · 1.14 KB
/
params.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import numpy as np
w1 = 0.7
w2 = 1 - w1
T = 10
theta = 1
epsilon = 2
zeta = 3
k = 1000
### FOR NER EXP ###
root_lovelace = "/LUSTRE/users/rnaveiro/corrupting_hmms"
root = "/home/roi.naveiro/corrupting_hmms"
data_path = f'{root_lovelace}/data/ner.csv'
results_path = f'{root_lovelace}/results/'
attack1 = {
0 : 0,
1 : 1,
2 : 1,
3 : 3,
4 : 4,
5 : 5,
6 : 6,
7 : 7,
8 : 8,
9 : 9,
10 : 10,
11 : 11,
12 : 12,
13 : 16,
14 : 16,
15 : 15,
16 : 16,
17 : 17,
18 : 18,
19 : 19,
20 : 20,
21 : 21,
22 : 22,
23 : 23,
24 : 24,
25 : 25,
26 : 26,
27 : 27,
28 : 2
}
attack2 = {
0 : 13,
0 : 13,
0 : 13,
0 : 13,
0 : 13,
0 : 13,
0 : 13,
0 : 13,
1 : 13,
2 : 13,
3 : 13,
4 : 13,
5 : 13,
6 : 13,
7 : 13,
8 : 13,
9 : 13,
10 : 13,
11 : 13,
12 : 13,
13 : 13,
14 : 13,
15 : 13,
16 : 13,
17 : 13,
18 : 13,
19 : 13,
20 : 13,
21 : 13,
22 : 13,
23 : 13,
24 : 13,
25 : 13,
26 : 13,
27 : 13,
28 : 13
}