-
Notifications
You must be signed in to change notification settings - Fork 318
/
2_anomaly_detection_all.sh
executable file
·54 lines (43 loc) · 1.34 KB
/
2_anomaly_detection_all.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
declare -a ecg_filenames=("chfdb_chf01_275.pkl"
"chfdb_chf13_45590.pkl"
"chfdbchf15.pkl"
"ltstdb_20221_43.pkl"
"ltstdb_20321_240.pkl"
"mitdb__100_180.pkl"
"qtdbsel102.pkl"
"stdb_308_0.pkl"
"xmitdb_x108_0.pkl"
)
declare -a respiration_filenames=("nprs43.pkl"
"nprs44.pkl"
)
declare -a space_shuttle_filenames=("TEK14.pkl"
"TEK16.pkl"
"TEK17.pkl")
declare -a gesture_filenames=("ann_gun_CentroidA.pkl")
declare -a power_demand_filenames=("power_data.pkl")
declare -a nyc_taxi_filenames=("nyc_taxi.pkl")
for idx in "${ecg_filenames[@]}"
do
ipython 2_anomaly_detection.py -- --data ecg --filename "$idx" --save_fig
done
for idx in "${respiration_filenames[@]}"
do
ipython 2_anomaly_detection.py -- --data respiration --filename "$idx" --save_fig
done
for idx in "${space_shuttle_filenames[@]}"
do
ipython 2_anomaly_detection.py -- --data space_shuttle --filename "$idx" --save_fig
done
for idx in "${gesture_filenames[@]}"
do
ipython 2_anomaly_detection.py -- --data gesture --filename "$idx" --save_fig
done
for idx in "${power_demand_filenames[@]}"
do
ipython 2_anomaly_detection.py -- --data power_demand --filename "$idx" --save_fig
done
for idx in "${nyc_taxi_filenames[@]}"
do
ipython 2_anomaly_detection.py -- --data nyc_taxi --filename "$idx" --save_fig
done