We provide a config file and a pretrained model to reproduce the experiment on TITAN reported in our paper.
- Be sure you installed TITAN's dependencies
pip install extern/titan
pip install extern/pytoda
- Download the trained model at https://ibm.box.com/shared/static/g5gfmghuwpg8osr4mljk8zp8uvar9o9e.pt
- To use our config file out-of-the-box, place the file at the path
<PATH_TO_REPO>/data/titan_model/smi_full_fold1_published_code/weights/best_ROC-AUC_bimodal_mca.pt
-
In the provided config file at
<PATH_TO_REPO>/sample_configs/titan.json
, substitute all the occurences of<PATH_TO_REPO>
to the actual path where you cloned this repository. -
In the provided config file at
<PATH_TO_REPO>/sample_configs/titan.json
, change theroot
entry to a folder where you want to store the results. -
(optional) If you installed
DECODE
in a conda environment, activate the environment, e.g. (if your environment is calleddecode
)
conda activate decode
- Run
DECODE
run_interpretability_pipeline --config <PATH_TO_REPO>/sample_configs/titan.json --user_directory <PATH_TO_REPO>/example/titan