Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/demo_independent_data_generation…
Browse files Browse the repository at this point in the history
…' into demo
  • Loading branch information
kamilest committed Dec 15, 2024
2 parents 0a4e67d + f319e70 commit a1a2fd8
Show file tree
Hide file tree
Showing 11 changed files with 13,885 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -362,3 +362,5 @@ meds_env/*
demo/content/*
demo/data/*
demo/task_labels/*
demo/work_dir
demo/outputs
19 changes: 19 additions & 0 deletions demo/README.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Demo Notebooks Guide

## Data Extraction
1. Run `extract_meds_data.ipynb` to convert datasets to MEDS format:
- MIMIC-IV demo dataset
- EICU dataset

Extracted data locations:
- EICU: `demo/work_dir/eicu_demo/meds`
- MIMIC-IV: `demo/work_dir/mimiciv_demo/meds`

## Task Label Generation
2. Run `aces.ipynb` to generate prediction task labels

## Model Experiments
3. Run any of these notebooks for model experiments and AUC results:
- `meds_cehrbert.ipynb` - CEHR-BERT implementation
- `meds_tab.ipynb` - Tabular models
- `meds_torch.ipynb` - PyTorch models
759 changes: 759 additions & 0 deletions demo/aces.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit a1a2fd8

Please sign in to comment.