Skip to content
/ DynST Public

Dynamic Survival Transformers for Causal Inference with Electronic Health Records

Notifications You must be signed in to change notification settings

prob-ml/DynST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynST

arXiv

Dynamic Survival Transformers for Causal Inference with Electronic Health Records

Accepted as a spotlight presentation to the NeurIPS 2022 Workshop on Learning from Time Series for Health

About

A deep learning model built in Pytorch Lightning. Dependencies are managed through Poetry, configurations through Hydra.

Data

Our semi-synthetic data derives from the MIMIC-III Clinical Database (https://physionet.org/content/mimiciii-demo/1.4/). We use the MIMIC-Extract pipeline to preprocess the data (https://github.com/MLforHealth/MIMIC_Extract).

How to Use

To generate the semi-synthetic dataset, you should have the MIMIC-Extract file all_hourly_data.h5 saved in a directory called data/. Then run

python run.py preprocess.do=True

To launch a multirun of DynST sweeping over several hyperparameters, you can enter the following command:

python run -m model.d_model=32,64 model.alpha=0,0.1,0.2  

About

Dynamic Survival Transformers for Causal Inference with Electronic Health Records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published