Skip to content

Latest commit

 

History

History
102 lines (48 loc) · 2.91 KB

File metadata and controls

102 lines (48 loc) · 2.91 KB

HINT: Learn and Inference

After processing the data, we learn the Hierarchical Interaction Network (HINT) on the following four tasks. The following figure illustrates the pipeline of HINT. All the scripts are available in the folder HINT.

logo

Tutorial (Jupyter Notebook)

tutorial_HINT.ipynb is a tutorial to learn and evaluate HINT step by step.

Phase I/II/III Prediction (Bash command line)

Phase-level prediction predicts the success probability of a single phase study.

python HINT/learn_phaseI.py
python HINT/learn_phaseII.py
python HINT/learn_phaseIII.py

METRICS

  • PR-AUC (Precision-Recall Area Under Curve). Precision-Recall curves summarize the trade-off between the true positive rate and the positive predictive value for a predictive model using different probability thresholds.
  • F1. The F1 score is the harmonic mean of the precision and recall.
  • ROC-AUC (Area Under the Receiver Operating Characteristic Curve). ROC curve summarize the trade-off between the true positive rate and false positive rate for a predictive model using different probability thresholds.

Contact

Please contact futianfan@gmail.com for help or submit an issue. This is a joint work with Kexin Huang, Cao(Danica) Xiao, Lucas M. Glass and Jimeng Sun.

Code Architecture

  • learn and inference on various task
    • learn_phaseI.py: predict whether the trial can pass phase I.
    • learn_phaseII.py: predict whether the trial can pass phase II.
    • learn_phaseIII.py: predict whether the trial can pass phase III.
    • learn_indication.py: predict whether the trial can pass the indication (phase I-III).
  • model architecture
    • model.py
      • three model classes (Interaction, HINT_nograph, HINTModel), build model from simple to complex.
    • icdcode_encode.py
      • preprocess ICD-10 code, building ontology of icd-10 codes.
      • GRAM to model hierarchy of icd-10 code.
    • molecule_encode.py
      • message passing network (MPN)
    • protocol_encode.py
      • protocol embeddor
    • module.py contains standard implementation of existing neural module, e.g., highway, GCN
      • Highway Network
      • Graph Convolutional Network (GCN)