PatientDischargePrediction

Steps to run the codes:

  1. BaseDatabaseBuilding.py to extract features for each patient-day observation by emergency and planned admissions, and calculate the outcomes of interest: imminent discharge within 24 hours;
  2. XGB model for training and prediction evaluation;
  3. Patient-level evaluation;
  4. Hospital-level evaluation.