Collaborative Graph Learning with Auxiliary Text for Temporal Event Prediction in Healthcare
- python 3
- numpy
- sklearn
- pandas
- nltk
- tensorflow
- Install all required softwares and packages.
pip install -r requirements.txt
- In the python console, download the
stopwords
andpunkt
corpus required bynltk
.
import nltk
nltk.download('stopwords')
nltk.download('punkt')
Go to https://mimic.physionet.org/ for access. Once you have the authority for the dataset, download the dataset and extract the csv files to data/mimic3/raw/
in this project.
python run_preprocess.py
- For the medical code prediction task.
python train_codes.py
- For the heart failure prediction task.
python train_hf.py