This repo contains the Appendix and code to replicate the experiments of our method for MIMIC-IV Dataset for our SDM 2025 paper "Domain Knowledge Augmented Contrastive Learning on Dynamic Hypergraphs for Improved Health Risk Prediction"
- P2id_mimic.csv is the mapping file that maps pid to an index
- feat_create_mimic.py creates the dynamic patient features
- create_interactions_mimic.py creates the interactions between patients and hospital entities
- contrastive_views_mimic.py creates the 2 contrastive views of the interactions
- create_hyperedges.py creates the hyperedges from the interaction data
- train_mimic_my.py is the training and evaluation script