Skip to content

Commit 914906d

Browse files
committed
Initial pass at new testing functionality
1 parent 641af7f commit 914906d

File tree

33 files changed

+99
-8
lines changed

33 files changed

+99
-8
lines changed

Pilot1/Attn/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
set -x
12
python attn_baseline_keras2.py
2-
# python attn_abstention_keras2.py --epochs 1
3+
python attn_abstention_keras2.py --epochs 1
34
python attn_bin_working_jan7_h5.py --in ../../Data/Pilot1/top_21_1fold_001.h5 --ep 1 --save_dir "./save"

Pilot1/Combo/test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash
22

3+
set -x
4+
35
python combo_baseline_keras2.py --use_landmark_genes True --warmup_lr True --reduce_lr True -z 256 --epochs 4
4-
python infer.py --sample_set NCIPDM --drug_set ALMANAC --use_landmark_genes -m ./save/combo.A=relu.B=256.E=10.O=adam.LR=None.CF=e.DF=d.wu_lr.re_lr.L1000.D1=1000.D2=1000.D3=1000.model.h5 -w ./save/combo.A=relu.B=256.E=10.O=adam.LR=None.CF=e.DF=d.wu_lr.re_lr.L1000.D1=1000.D2=1000.D3=1000.weights.h5
6+
python infer.py --sample_set NCIPDM --drug_set ALMANAC --use_landmark_genes -m ./save/combo.A=relu.B=256.E=4.O=adam.LR=None.CF=e.DF=d.wu_lr.re_lr.L1000.D1=1000.D2=1000.D3=1000.model.h5 -w ./save/combo.A=relu.B=256.E=4.O=adam.LR=None.CF=e.DF=d.wu_lr.re_lr.L1000.D1=1000.D2=1000.D3=1000.weights.h5
57

68
# Need to revisit combo_dose.py and infer_dose.py
79
# python combo_dose.py --use_landmark_genes True -z 256

Pilot1/NT3/nt3_candle_wrappers_baseline_keras2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ def load_data(train_path, test_path, gParameters):
7272

7373
def run(gParameters):
7474

75-
print('Params:', gParameters)
76-
7775
file_train = gParameters['train_data']
7876
file_test = gParameters['test_data']
7977
url = gParameters['data_url']

Pilot1/NT3/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
python nt3_baseline_keras2.py -e 2
46
# python nt3_baseline_keras2_tensorrt.py -e 2
57
python nt3_abstention_keras2.py -e 2

Pilot1/P1B1/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
set -x
12
python p1b1_baseline_keras2.py --use_landmark_genes True --train_samples 100 --epochs 5

Pilot1/P1B2/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
set -x
12
python p1b2_baseline_keras2.py --epochs 3

Pilot1/P1B3/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
set -x
12
python p1b3_baseline_keras2.py --feature_subsample 500 -e 5 --train_steps 100 --val_steps 10 --test_steps 10
23
python p1b3_baseline_keras2.py --conf p1b3_conv_model.txt -e 5 --train_steps 100 --val_steps 10 --test_steps 10

Pilot1/T29/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
./prep.sh
2+
set -x
23
python t29res.py -e 5
34
python infer.py --model t29res.model.json --weights t29res.model.h5 --n_pred 10

Pilot1/TC1/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
set -x
12
python tc1_baseline_keras2.py -e 2
23
python tc1_baseline_keras2.py --conf tc1_modac_model.txt -e 2

Pilot1/Uno/test.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -x
4+
35
# AUC prediction model
46
if [ ! -f "top_21_auc_1fold.uno.h5" ]; then
57
curl -o top_21_auc_1fold.uno.h5 http://ftp.mcs.anl.gov/pub/candle/public/benchmarks/Pilot1/uno/top_21_auc_1fold.uno.h5

0 commit comments

Comments
 (0)