How to predict when and why of hospitalization? I have an EHR data source which has info on
a) Patient visit records (Inpatient, outpatient, Emergency etc) and why did he visit hospital (diagnosis codes attached to each visit)
b) Patients drugs data
c) Patients lab test data
d) Patient diagnosis history
e) Patient demographics data
If my objective had just been to predict when will we visit hospital next, I can use Time to event analysis or survival analysis etc.
But, I would also like to know why will he visit hospital next or what might be the reason of his next hospital visit?
While predicting &quot;when&quot; seems to be doable, can experts here guide me on how can I find why/what will be the reason for his next hospital visit?
Why is potentially hidden in your feature explanations.
Given that your Features give some indication on why, like Patient demographics data, or some other Features that you can include here, you can use them to answer the why.
Like this using shapley and or eli5 you can integrate it with your Standard predictor classes and for the explanations with user friendly API.
BUT i have to prefice that even tough it might be hidden it must not be at the same time, since the predictiveness of time might have Nothing to do real why you are Looking for.