Diff of /shepherd/run_predict.sh [000000] .. [db6163]

Switch to unified view

a b/shepherd/run_predict.sh
1
# Bash script to run SHEPHERD to generate predictions
2
3
4
# Command to run this bash script:
5
# bash predict.sh
6
7
# IMPORTANT
8
#    - To generate predictions on your own dataset (default), please use --patient_data my_data
9
#    - To generate predictions on simulated test patients, please use --patient_data test_predict
10
11
# Command to run the predict script for each task. Comment out tasks you don't want to generate predictions for. 
12
python predict.py \
13
--run_type causal_gene_discovery \
14
--patient_data test_predict \
15
--edgelist KG_edgelist_mask.txt \
16
--node_map KG_node_map.txt \
17
--saved_node_embeddings_path checkpoints/pretrain.ckpt \
18
--best_ckpt checkpoints/causal_gene_discovery.ckpt
19
20
python predict.py \
21
--run_type patients_like_me \
22
--patient_data my_data \
23
--edgelist KG_edgelist_mask.txt \
24
--node_map KG_node_map.txt \
25
--saved_node_embeddings_path checkpoints/pretrain.ckpt \
26
--best_ckpt checkpoints/patients_like_me.ckpt
27
28
python predict.py \
29
--run_type disease_characterization \
30
--patient_data my_data \
31
--edgelist KG_edgelist_mask.txt \
32
--node_map KG_node_map.txt \
33
--saved_node_embeddings_path checkpoints/pretrain.ckpt \
34
--best_ckpt checkpoints/disease_characterization.ckpt