-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun_chembl.sh
executable file
·63 lines (57 loc) · 1.63 KB
/
run_chembl.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
#! /bin/bash
# Run conformal evaluation on ChEMBL combinatorial property constraint task.
set -ex
# Need split!
if [ "$#" -ne 1 ]
then
echo "Please supply split."
exit 1
fi
# Take the split as a commandline arg.
split=$1
# Compute baseline CP without expanded admission.
python chembl/conformal_chembl.py \
--metrics=MPN \
--eval_dir data/chembl/$split \
--num_trials 20 \
--outer_threads 0 \
--inner_threads 40 \
--cuda=true \
--skip_conformal=false \
--skip_baselines=true \
--equivalence=false \
--output_dir=results/$split \
--smoothed=true \
--absolute_efficiency \
--epsilons=0.1,0.2,0.3,0.4
# Compute noncascade CP with expanded admission.
python chembl/conformal_chembl.py \
--metrics=MPN \
--eval_dir data/chembl/$split \
--num_trials 20 \
--outer_threads 0 \
--inner_threads 40 \
--cuda=true \
--skip_conformal=false \
--skip_baselines=true \
--equivalence=true \
--output_dir=results/$split \
--smoothed=true \
--absolute_efficiency \
--epsilons=0.1,0.2,0.3,0.4
# Compute cascaded CP with expanded admission.
python chembl/conformal_chembl.py \
--metrics=RF,MPN \
--correction=bonferroni \
--eval_dir data/chembl/$split \
--num_trials 20 \
--outer_threads 0 \
--inner_threads 40 \
--cuda=true \
--skip_conformal=false \
--skip_baselines=true \
--equivalence=true \
--output_dir=results/$split \
--smoothed=true \
--absolute_efficiency \
--epsilons=0.1,0.2,0.3,0.4