-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_WSPN.sh
executable file
·62 lines (59 loc) · 3.68 KB
/
run_WSPN.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
#!/bin/bash
case $1 in
Sine)
echo Run experiments on Sine dataset.
# sine
python script_wspn.py --wspn_type=1 --train_type=1 --data_type=sine --threshold=0.5 --n_min_slice=1000
python script_wspn.py --wspn_type=2 --train_type=1 --data_type=sine --threshold=0.3 --n_min_slice=1000
python script_wspn.py --wspn_type=3 --train_type=1 --data_type=sine --threshold=0.3 --n_min_slice=1000
python script_wspn.py --wspn_type=1 --train_type=2 --data_type=sine --threshold=0.5 --n_min_slice=1000
python script_wspn.py --wspn_type=2 --train_type=2 --data_type=sine --threshold=0.3 --n_min_slice=1000
python script_wspn.py --wspn_type=3 --train_type=2 --data_type=sine --threshold=0.3 --n_min_slice=1000
;;
MNIST)
echo Run experiments on MNIST dataset.
# mnist
python script_wspn.py --wspn_type=1 --train_type=1 --data_type=2 --threshold=0.7 --n_min_slice=100
python script_wspn.py --wspn_type=1 --train_type=2 --data_type=2 --threshold=0.7 --n_min_slice=100
python script_wspn.py --wspn_type=2 --train_type=1 --data_type=2 --threshold=0.7 --n_min_slice=100
python script_wspn.py --wspn_type=2 --train_type=2 --data_type=2 --threshold=0.7 --n_min_slice=100
python script_wspn.py --wspn_type=3 --train_type=1 --data_type=2 --threshold=0.7 --n_min_slice=100
python script_wspn.py --wspn_type=3 --train_type=2 --data_type=2 --threshold=0.7 --n_min_slice=100
;;
SP)
echo Run experiments on SP dataset.
# SP
python script_wspn.py --wspn_type=1 --train_type=1 --data_type=3 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=1 --train_type=2 --data_type=3 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=2 --train_type=1 --data_type=3 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=2 --train_type=2 --data_type=3 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=3 --train_type=1 --data_type=3 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=3 --train_type=2 --data_type=3 --threshold=0.8 --n_min_slice=5
;;
Stock)
echo Run experiments on Stock dataset.
# Stock
python script_wspn.py --wspn_type=1 --train_type=1 --data_type=4 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=1 --train_type=2 --data_type=4 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=2 --train_type=1 --data_type=4 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=2 --train_type=2 --data_type=4 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=3 --train_type=1 --data_type=4 --threshold=0.8 --n_min_slice=5
python script_wspn.py --wspn_type=3 --train_type=2 --data_type=4 --threshold=0.8 --n_min_slice=5
;;
Billiards)
echo Run experiments on Billiards dataset.
# Billiards
python script_wspn.py --wspn_type=1 --train_type=1 --data_type=5 --threshold=0.7 --n_min_slice=200
python script_wspn.py --wspn_type=1 --train_type=2 --data_type=5 --threshold=0.7 --n_min_slice=200
python script_wspn.py --wspn_type=2 --train_type=1 --data_type=5 --threshold=0.7 --n_min_slice=200
python script_wspn.py --wspn_type=2 --train_type=2 --data_type=5 --threshold=0.7 --n_min_slice=200
python script_wspn.py --wspn_type=3 --train_type=1 --data_type=5 --threshold=0.7 --n_min_slice=200
python script_wspn.py --wspn_type=3 --train_type=2 --data_type=5 --threshold=0.7 --n_min_slice=200
;;
*)
echo Wrong dataset name, must be Sine, MNIST, SP, Stock or Billiards.
;;
esac
# VAR
#?python script_wspn.py --wspn_type=2 --train_type=1 --data_type=6 --threshold=0.3 --n_min_slice=1000
#?python script_wspn.py --wspn_type=2 --train_type=2 --data_type=6 --threshold=0.3 --n_min_slice=1000