Input variables Gender Female Male Patient age Functional status before the surgery Independent Partially dependant Totally dependant ASA Class No disturb Mild disturb Severe disturb Life threat Moribund Steroid use for chronic condition No Yes Systemic sepsis None SIRS Sepsis Septic shock History of diabetes No No-Insulin Insulin History of hypertension No Yes History of COPD No Yes Disseminated cancer No Yes Days from Hospital Admission to Operation Preoperative Sodium Preoperative BUN Preoperative WBC Preoperative hematocrit Preoperative platelet count Select Model Prediciting Readmission with XGboost Prediciting Readmission with Random Forest Predict Clear