-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_experiments.sh
executable file
·43 lines (37 loc) · 961 Bytes
/
run_experiments.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
#!/bin/bash
function TrainSimpleModels {
aux=$1
((aux=aux-1))
model=${SimpleModelsArray[$aux]}
printf -v p_model "%02d" $1
output="./out/TFG/PROBS_$1_$2.txt"
command="python ./actions.py $1 $2 | tee ${output}"
#command="python ./actions.py $1 $2"
echo $command
eval $command
}
# 1ª posicion N_SAMPLES segunda posicion PERCENT
#TrainSimpleModels 100000 40
#TrainSimpleModels 100000 30
TrainSimpleModels 100000 20
#TrainSimpleModels 100000 10
#TrainSimpleModels 100 40
#TrainSimpleModels 100 30
TrainSimpleModels 100 20
#TrainSimpleModels 100 10
#TrainSimpleModels 50 40
#TrainSimpleModels 50 30
TrainSimpleModels 50 20
#TrainSimpleModels 50 10
#TrainSimpleModels 25 40
#TrainSimpleModels 25 30
TrainSimpleModels 25 20
#TrainSimpleModels 25 10
#TrainSimpleModels 10 40
#TrainSimpleModels 10 30
TrainSimpleModels 10 20
#TrainSimpleModels 10 10
#TrainSimpleModels 5 40
#TrainSimpleModels 5 30
TrainSimpleModels 5 20
#TrainSimpleModels 5 10