Skip to content

lipingcoding/HAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HAR

Paper data and code

This is the code for the TKDE submission paper: Stage-Aware Hierarchical Attentive Relational Network for Diagnosis Prediction. We have implemented our methods in Pytorch and DGL. Here, we provide the source code for model-variant HAR-LSTM.

Usage

You need to download MIMIC-III and MIMIC-IV datasets by yourself. Then you need finish data-processing as following:

cd data_util;
python simplify_semmed.py
python prepare_icd2cui.py
python filter_semmed_kg_edges.py 
python process_mimic.py

Then you can run the file main.py to train the model.


## Requirements

- Python 3
- PyTorch
- DGL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published