-
Notifications
You must be signed in to change notification settings - Fork 5
/
rebuttal.sh
165 lines (113 loc) · 4.21 KB
/
rebuttal.sh
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
################################ Gompertz ODE ################################
ode=GompertzODE
ode_param=1.5,1.5
# change noise level
seed_arr=( 50 )
noise_arr=( 0.01 0.1 0.3 0.5 0.7 0.9 1.1 1.3 )
n_seed=50
for seed in "${seed_arr[@]}"
do
for noise in "${noise_arr[@]}"
do
python -u run_simulation_node.py --ode_name=${ode} --ode_param=${ode_param} --seed=${seed} --noise_sigma=${noise} --n_seed=${n_seed} --n_sample=50
python -u run_simulation_node.py --alg=one-step --ode_name=${ode} --ode_param=${ode_param} --seed=${seed} --noise_sigma=${noise} --n_seed=${n_seed} --n_sample=50
sleep 1
done
done
freq=10
sample=50
ode=GompertzODE
ode_param=1.5,1.5
for seed in "${seed_arr[@]}"
do
for noise in "${noise_arr[@]}"
do
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --alg=node >> results/GompertzODE-noise.txt
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --alg=node_one_step >> results/GompertzODE-noise.txt
sleep 1
done
done
################################ Lorenz ODE ################################
ode=Lorenz
# change noise level
seed_arr=( 0 )
noise_arr=( 0.09 0.15 0.2 0.25 0.3 )
n_seed=50
freq=25
x_id=0
for seed in "${seed_arr[@]}"
do
for noise in "${noise_arr[@]}"
do
python -u run_simulation_node.py --ode_name=${ode} --seed=${seed} --freq=${freq} --noise_sigma=${noise} --n_seed=${n_seed} --x_id=${x_id} --n_sample=50
python -u run_simulation_node.py --alg=one-step --ode_name=${ode} --seed=${seed} --freq=${freq} --noise_sigma=${noise} --n_seed=${n_seed} --x_id=${x_id} --n_sample=50
done
done
freq=25
noise_arr=( 0.09 0.15 0.2 0.25 0.3 )
sample=50
x_id=0
ode=Lorenz
for noise in "${noise_arr[@]}"
do
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --x_id=${x_id} --alg=node >> results/Lorenz-noise.txt
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --x_id=${x_id} --alg=node_one_step >> results/Lorenz-noise.txt
sleep 1
done
cat results/Lorenz-noise.txt
# Equation 2
ode=Lorenz
seed_arr=( 0 )
noise_arr=( 0.09 0.15 0.2 0.25 0.3 )
n_seed=50
freq=50
x_id=1
for seed in "${seed_arr[@]}"
do
for noise in "${noise_arr[@]}"
do
python -u run_simulation_node.py --ode_name=${ode} --seed=${seed} --freq=${freq} --noise_sigma=${noise} --n_seed=${n_seed} --x_id=${x_id} --n_sample=50
python -u run_simulation_node.py --alg=one-step --ode_name=${ode} --seed=${seed} --freq=${freq} --noise_sigma=${noise} --n_seed=${n_seed} --x_id=${x_id} --n_sample=50
sleep 1
done
done
freq=50
noise_arr=( 0.09 0.15 0.2 0.25 0.3 )
sample=50
x_id=1
ode=Lorenz
for noise in "${noise_arr[@]}"
do
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --x_id=${x_id} --alg=node >> results/Lorenz-noise-1.txt
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --x_id=${x_id} --alg=node_one_step >> results/Lorenz-noise-1.txt
sleep 1
done
cat results/Lorenz-noise-1.txt
# Equation 3
ode=Lorenz
seed_arr=( 0 )
noise_arr=( 0.09 0.15 0.2 0.25 0.3 )
n_seed=50
freq=50
x_id=2
for seed in "${seed_arr[@]}"
do
for noise in "${noise_arr[@]}"
do
python -u run_simulation_node.py --ode_name=${ode} --seed=${seed} --freq=${freq} --noise_sigma=${noise} --n_seed=${n_seed} --x_id=${x_id} --n_sample=50
python -u run_simulation_node.py --alg=one-step --ode_name=${ode} --seed=${seed} --freq=${freq} --noise_sigma=${noise} --n_seed=${n_seed} --x_id=${x_id} --n_sample=50
sleep 1
done
done
freq=50
noise_arr=( 0.09 0.15 0.2 0.25 0.3 )
sample=50
x_id=2
ode=Lorenz
for noise in "${noise_arr[@]}"
do
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --x_id=${x_id} --alg=node >> results/Lorenz-noise-2.txt
python -u evaluation.py --ode_name=${ode} --noise_sigma=${noise} --n_sample=${sample} --freq=${freq} --x_id=${x_id} --alg=node_one_step >> results/Lorenz-noise-2.txt
sleep 1
done
cat results/Lorenz-noise-2.txt