Skip to content

fay067/TA-DualCV

Repository files navigation

This folder contains the implementation of the following paper:
Reconstructing Missing EHRs Using Time-Aware Within- and Cross-Visit Information for Septic Shock Early Prediction

The method (TA-DualCV) is a stand-alone imputation method that can handle multivariate time series with missingness, and provides complete data for down-stream usage such as disease prediction.

-----------------------------Files Directory-----------------------------

|
|--code files
|--data                                 * Put the downloaded datasets here.
|    |--mimic
|         |
|         |--data_groundtruth
|         |
|         |--data_with_missing
| 
| 
|--result                             * The imputation results and prediction results are here.
|    |--mimic
|         |--mimic_24h_imputation_result
|         |
|         |--mimic_24h_prediction



-----------------------------Code-----------------------------
- For imputation, install the following dependencies:
  - hash
  - doParallel
  - foreach
  - abind
  - MICE
  - GPfit
- For prediction, install the following dependencies under Python3:
  - sys, math, numpy=1.18.1, pandas=1.0.1, collections
  - tensorflow=2.4.1
  - sklearn=0.22.1
 

1. Generate imputation results.
Rscript TADualCV.R

2. Septic shock 24-hour early prediction.
python septic_prediction.py [dataset] [missing indicator:1 for with MI; 0 for without MI]

An example:
python septic_prediction.py mimic 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published