RyanWangZf / PromptEHR

EMNLP'22 | PromptEHR: Conditional Electronic Healthcare Records Generation with Prompt Learning
MIT License
24 stars 7 forks source link

Preprocessing of training data for promptEHR #9

Open avani17101 opened 1 year ago

avani17101 commented 1 year ago

Hello @RyanWangZf, The code in dataset.py takes processed MIMIC-III. Could you point the scripts used for processing the raw MIMIC-III data?

RyanWangZf commented 1 year ago

Hi, we adapt the script used in SafeDrug https://github.com/ycq091044/SafeDrug.

hojjatkarami commented 4 months ago

Hi,

I want to use PromptEHR on MIMIC-III, however, I cannot load feature.csv from the following file:

/home/hokarami/.local/lib/python3.9/site-packages/pytrial/data/demo_data.py

I managed to get visits.pkl and voc.pkl form SafeDrug repo but not feature.csv.