A machine learning model for predicting in-hospital mortality among ICU patients with cirrhosis and sepsis
Abstract
Background To develop and internally and externally validate a model for predicting in-hospital mortality risk among patients with cirrhosis and sepsis, using routine clinical data from the first 24 hours after ICU admission. Methods This was a retrospective cohort study. The development cohort was drawn from MIMIC-IV (2008–2019; n = 2463) and randomly split 8:2 into a training set (n = 1970) and an internal validation set (n = 493). The external validation cohort comprised 237 patients from Zhongnan Hospital of Wuhan University (2015–2025). Adults with a diagnosis of cirrhosis who met Sepsis-3 criteria were included; patients with an ICU length of stay ≤ 24 hours or critical missing data were excluded. The primary endpoint was all-cause in-hospital mortality. Seven algorithms were trained: Logistic Regression, Ridge, Lasso, Decision Tree, Random Forest, XGBoost, and LightGBM. Missing values were handled with IterativeImputer. The primary criterion for selecting the optimal model was the arithmetic mean of AUROCs across cross-validation, internal validation, and external validation. Accuracy, precision, recall/sensitivity, specificity, F1 score, and Brier score were also reported. Performance was compared with conventional scores including SOFA, SAPS II, OASIS, LODS, MELD, and ABIC. The final model was interpreted with SHAP. Results A total of 2700 patients were included (2463 from MIMIC-IV and 237 from Zhongnan Hospital). XGBoost showed the best overall performance, with AUROCs of 0.940 (training), 0.833 (internal validation), and 0.776 (external validation); the three-set mean AUROC was 0.814. Discrimination of XGBoost exceeded that of the compared conventional scores (DeLong test, P < 0.05). The leading SHAP contributors included liver transplantation status, total bilirubin, prothrombin time, bloodstream infection, and urine output. Conclusions An XGBoost model based on first-day ICU data can stratify in-hospital mortality risk in patients with cirrhosis and sepsis, with discrimination superior to conventional scores and with clinically interpretable predictors.
// Source
Authors: Hui Chen, Chen Yang, Jiahao Zhang, Yiping Dai, Pangaozhi Mo, 吳志雄, Zhiyong Peng
Institutions: Shenzhen Second People's Hospital, Zhongnan Hospital of Wuhan University, Huadong Hospital, Dyson Institute of Engineering and Technology