-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcmds.txt
More file actions
97 lines (79 loc) · 4.34 KB
/
cmds.txt
File metadata and controls
97 lines (79 loc) · 4.34 KB
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
91
92
93
94
95
96
# [1. generate enough data]
python 1_generate_data.py --k_train 8000 --k_test 3000
# [2. To recover Fig. 3 (a,b,c), run the following commands]
## [2.1. feasibility]
python 2_training.py --type fea --data 100 --embSize 2
python 2_training.py --type fea --data 100 --embSize 4
python 2_training.py --type fea --data 100 --embSize 8
python 2_training.py --type fea --data 100 --embSize 16
python 2_training.py --type fea --data 100 --embSize 32
python 2_training.py --type fea --data 100 --embSize 64
python 2_training.py --type fea --data 500 --embSize 2
python 2_training.py --type fea --data 500 --embSize 4
python 2_training.py --type fea --data 500 --embSize 8
python 2_training.py --type fea --data 500 --embSize 16
python 2_training.py --type fea --data 500 --embSize 32
python 2_training.py --type fea --data 500 --embSize 64
python 2_training.py --type fea --data 2500 --embSize 2
python 2_training.py --type fea --data 2500 --embSize 4
python 2_training.py --type fea --data 2500 --embSize 8
python 2_training.py --type fea --data 2500 --embSize 16
python 2_training.py --type fea --data 2500 --embSize 32
python 2_training.py --type fea --data 2500 --embSize 64
## [2.2. objective]
python 2_training.py --type obj --data 100 --embSize 2
python 2_training.py --type obj --data 100 --embSize 4
python 2_training.py --type obj --data 100 --embSize 8
python 2_training.py --type obj --data 100 --embSize 16
python 2_training.py --type obj --data 100 --embSize 32
python 2_training.py --type obj --data 100 --embSize 64
python 2_training.py --type obj --data 500 --embSize 2
python 2_training.py --type obj --data 500 --embSize 4
python 2_training.py --type obj --data 500 --embSize 8
python 2_training.py --type obj --data 500 --embSize 16
python 2_training.py --type obj --data 500 --embSize 32
python 2_training.py --type obj --data 500 --embSize 64
python 2_training.py --type obj --data 2500 --embSize 2
python 2_training.py --type obj --data 2500 --embSize 4
python 2_training.py --type obj --data 2500 --embSize 8
python 2_training.py --type obj --data 2500 --embSize 16
python 2_training.py --type obj --data 2500 --embSize 32
python 2_training.py --type obj --data 2500 --embSize 64
## [2.3. solution]
python 2_training.py --type sol --data 100 --embSize 16
python 2_training.py --type sol --data 100 --embSize 32
python 2_training.py --type sol --data 100 --embSize 64
python 2_training.py --type sol --data 100 --embSize 128
python 2_training.py --type sol --data 100 --embSize 256
python 2_training.py --type sol --data 100 --embSize 512
python 2_training.py --type sol --data 500 --embSize 16
python 2_training.py --type sol --data 500 --embSize 32
python 2_training.py --type sol --data 500 --embSize 64
python 2_training.py --type sol --data 500 --embSize 128
python 2_training.py --type sol --data 500 --embSize 256
python 2_training.py --type sol --data 500 --embSize 512
python 2_training.py --type sol --data 2500 --embSize 16
python 2_training.py --type sol --data 2500 --embSize 32
python 2_training.py --type sol --data 2500 --embSize 64
python 2_training.py --type sol --data 2500 --embSize 128
python 2_training.py --type sol --data 2500 --embSize 256
python 2_training.py --type sol --data 2500 --embSize 512
## [2.4. testing]
python 4_testing_all.py --type fea --set train --loss mse
python 4_testing_all.py --type obj --set train --loss mse
python 4_testing_all.py --type sol --set train --loss mse
# [3. To recover tables in the appendix, run the following commands]
python 2_training.py --type fea --data 100 --embSize 6
python 2_training.py --type fea --data 500 --embSize 6
python 2_training.py --type fea --data 2500 --embSize 6
python 2_training.py --type obj --data 100 --embSize 6
python 2_training.py --type obj --data 500 --embSize 6
python 2_training.py --type obj --data 2500 --embSize 6
## [The following cmds recover the "training err" in the tables]
python 4_testing_all.py --type fea --embSize 6 --set train --loss l2
python 4_testing_all.py --type obj --embSize 6 --set train --loss l2
python 4_testing_all.py --type sol --embSize 16 --set train --loss l2
## [The following cmds recover the "testing err" in the tables]
python 4_testing_all.py --type fea --embSize 6 --set test --loss l2 --dataTest 1000
python 4_testing_all.py --type obj --embSize 6 --set test --loss l2 --dataTest 1000
python 4_testing_all.py --type sol --embSize 16 --set test --loss l2 --dataTest 1000