-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmake_parallel_eval.sh
66 lines (61 loc) · 1.87 KB
/
make_parallel_eval.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
#!/bin/bash
M=100
L=10
for metric in ERR NDCG
do
for eval in tree lasso
do
for approach in OnPolicy IPS IPS_SN PI PI_SN
do
python Parallel.py -m ${M} -l ${L} -v ${metric} -e ${eval} -a ${approach} --start 0 --stop 25 &> eval.log.${metric}.${M}.${L}.${eval}.${approach} &
done
done
done
for metric in ERR NDCG
do
for eval in tree lasso
do
for train in 1000 3000 10000 30000 100000 300000 1000000 3000000
do
for approach in DM_tree DM_lasso DMc_lasso
do
python Parallel.py -m ${M} -l ${L} -v ${metric} -e ${eval} -a ${approach} -z ${train} --start 0 --stop 25 &> eval.log.${metric}.${M}.${L}.${eval}.${approach}.${train} &
done
done
done
done
for logger in tree lasso
do
for temp in 0.5 1.0 1.5 2.0
do
for metric in ERR NDCG
do
for eval in tree lasso
do
for approach in OnPolicy IPS IPS_SN PI PI_SN
do
python Parallel.py -m ${M} -l ${L} -v ${metric} -f ${logger} -e ${eval} -t ${temp} -a ${approach} --start 0 --stop 25 &> eval.log.${metric}.${M}.${L}.${logger}-${temp}.${eval}.${approach} &
done
done
done
done
done
for logger in tree lasso
do
for temp in 0.5 1.0 1.5 2.0
do
for metric in ERR NDCG
do
for eval in tree lasso
do
for train in 1000 3000 10000 30000 100000 300000 1000000 3000000
do
for approach in DM_tree DM_lasso DMc_lasso
do
python Parallel.py -m ${M} -l ${L} -v ${metric} -f ${logger} -e ${eval} -t ${temp} -a ${approach} -z ${train} --start 0 --stop 25 &> eval.log.${metric}.${M}.${L}.${logger}-${temp}.${eval}.${approach}.${train} &
done
done
done
done
done
done