-
Notifications
You must be signed in to change notification settings - Fork 5
/
train_job_cpu
executable file
·22 lines (19 loc) · 1017 Bytes
/
train_job_cpu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
DATA_DIR=/path/to/data
for TRAIN_TYPE in 2001-2002 rolling_limited rolling
do
for TARGET in los_3 mort_icu
do
for MODELTYPE in lr rf
do
echo "*******************************************************************************************************"
echo $TRAIN_TYPE
echo $TARGET
echo $MODELTYPE
python -u AUC_GH.py --representation raw --level itemid --train_type $TRAIN_TYPE --modeltype $MODELTYPE --random_seed 0 1 2 3 4 --data_dir $DATA_DIR --target $TARGET
python -u AUC_GH.py --representation raw --level Level2 --train_type $TRAIN_TYPE --modeltype $MODELTYPE --random_seed 0 1 2 3 4 --data_dir $DATA_DIR --target $TARGET
python -u AUC_GH.py --representation raw --level nlp --train_type $TRAIN_TYPE --modeltype $MODELTYPE --random_seed 0 1 2 3 4 --data_dir $DATA_DIR --target $TARGET
python -u AUC_GH.py --representation pca --level itemid --train_type $TRAIN_TYPE --modeltype $MODELTYPE --random_seed 0 1 2 3 4 --data_dir $DATA_DIR --target $TARGET
done
done
done