Closed stdoo closed 3 years ago
Are there any plans to implement these fixes. I can confirm that these errors are still present in mimic3_experiments. Also, eicu_experiments has errors in the notebooks. The EICU notebooks make reference to icustays.csv, which is not in the EICU database, but is found in the MIMIC3 database.
Hello @daquang , yes I am currently working on fixing the issues in mimic3_experiments on a separate branch. Unfortunately due to package version differences, it might be impossible to reproduce the exact numerical results in the paper.
We are also working with physionet to share preprocessed datasets; more details will be available soon.
Also, eicu_experiments has errors in the notebooks. The EICU notebooks make reference to icustays.csv, which is not in the EICU database, but is found in the MIMIC3 database.
For eICU, the notebook generate_labels.ipynb
creates the icustays.csv
based on the patient table, and it contains the following columns:
Where partition specifies whether that ICU stay belongs to the train/val/test set. The split is done at the PatientID level so that for each patient, all their ICU stays always go into the same split.
I will add some usage instructions to eICU experiments as well.
Hello @stdoo @daquang, I'm excited to update you that preprocessed datasets for MIMIC-III and eICU are now available on physionet (https://physionet.org/content/mimic-eicu-fiddle-feature/1.0.0/)! I will clean up the code this weekend and close this issue after all bugs raised here have been addressed. Thanks again for your interest in our work.
Hi Shengpu,
I have summarized some bugs in the mimic3_experiments directory. You may check them while available.
1_data_extraction
extract_data.py
Exceptions:
Suggestions:
LabelDistributions.ipynb
Exceptions:
Suggestions:
InclusionExclusion.ipynb
Exceptions:
Suggestions:
PopulationSummary.ipynb
Exceptions:
Suggestions:
2_apply_FIDDLE
Suggestion: I think it's better to include FIDDLE module in this directory. After that, there are some other bugs.
README.md
Exceptions:
Suggestion:
run_make_all.sh
exceptions:
Suggestion:
Since the dir features/outcome=mortality,T=48.0,dt=1.0 is replaced by features/benckmark,outcome=mortality,T=48.0,dt=1.0 in 1_data_extraction/run_prepare_all.sh, this script is not able to run:
Since the file pop.mortality_benchmark.csv is not exist, this script is not able to run:
3_ML_models
lib/data.py
Exceptions:
Suggestion:
config.yaml
Exceptions:
Suggestion:
run_deep_eval.py
Exceptions:
Suggestion: