hoon9405/UniHPF

The mortality window is 24 or 48 hours for MIMIC 4?

Opened this issue · 0 comments

In paper its mentioned that mortality window is 48 hours (in prediction tasks: mortality prediction) while from code it seems 24 hour mortality was taken for MIMIC 4.
mortality = ( (temp.DEATHTIME >= temp.INTIME + pd.Timedelta(12, unit="h") ) & (temp.DEATHTIME <= temp.INTIME + pd.Timedelta(12, unit="h") + timegap + pred_window) ) where pred_window = 24 hours
@hoon9405 @starmpcc could you please confirm what was the case? Additionally, I checked the cod given in the followup work in https://github.com/starmpcc/UniFL/blob/master/preprocess/dataset_construct.py, I see the same 24 hour mortality.
Please clarify or correct me if I am missing something.
Thanks!