XGBoost model predicted in‐hospital mortality with 0.90 AUC, 0.69 sensitivity and 0.96 specificity; key predictors included septic shock, respiratory failure, UA, urea, PLT count and AST/ALT ratio. Here, GPT is linked to septic shock.