Hi,
I have been trying to run your code by following the instruction (yet working with ICD9 hierarchy rather than CCS which I'm sure works fine). However, it turned out that for the new version of the MIMIC the generated level1.pk would be empty, so I have been getting errors from gram.py as it assumes all levelX.pk files are non-empty to construct the tree and the attention model. Can you please help me with that (as it can be a common case in EHR where there could be no higher-level ICD9s assigned to the patients)?
Thanks in advance