YerevaNN / mimic3-benchmarks

Python suite to construct benchmark machine learning datasets from the MIMIC-III 💊 clinical database.
https://arxiv.org/abs/1703.07771
MIT License
806 stars 329 forks source link

hcup_ccs_2015_definitions.yaml issue #121

Closed DongHyukHwang closed 2 years ago

DongHyukHwang commented 2 years ago

There is no leading 0 in the excel file, but there seems to be a leading 0 in the hcup_ccs_2015_definitions.yaml file. Even if 0 is removed, there is overlap between symptoms, so 'AssertionError' occurs from 'assert code_to_group[code] == group' in the 'mimic3benchmark/scripts/create_phenotyping.py' file. I downloaded the data from https://physionet.org/content/mimiciii-demo/1.4/.