• 1. Department of Information, West China Hospital, Sichuan University, Chengdu 610041, P. R. China;
  • 2. Department of Hepatobiliary Surgery, The First Affiliated Hospital of Xi’an Jiaotong University, Xi’an 710061, P. R. China;
  • 3. Division of Liver Surgery, Department of General Surgery, West China Hospital, Sichuan University, Chengdu 610041, P. R. China;
PENG Wei, Email: pengwei@wchscu.cn
Export PDF Favorites Scan Get Citation

Objective This study aimed to develop early mortality risk prediction models for patients with severe acute pancreatitis (SAP) based on eight machine learning algorithms, and to identify the major risk factors. Methods Clinical data of SAP patients diagnosed at West China Hospital of Sichuan University between January 2020 and August 2023, were retrospectively collected and randomly divided into a training set (n=878) and a validation set (n=376) in a 7∶3 ratio. Eight machine learning algorithms, including random forest, logistic regression, support vector machine, multilayer perceptron, XGBoost, Gaussian naive Bayes, CatBoost, and AdaBoost, were applied to construct early mortality prediction models for SAP. The models were evaluated using the area under curve (AUC), decision curve analysis (DCA), Shapley additive explanations (SHAP), and other indexes. Results A total of 1 254 SAP patients were finally included in this study, with an early mortality rate of 15.8% (198/1 254). The random forest algorithm demonstrated the best predictive performance in both the training and validation sets, with AUCs of 0.913 and 0.844, respectively. In the DCA, random forest also yielded the greatest net benefit. SHAP analysis ranked seven key predictors of early mortality in SAP by importance: age, body mass index, heart rate, need for assisted ventilation, hemoglobin, interleukin-6, and lactate dehydrogenase, with the need for assisted ventilation being the most critical predictor.Conclusion The random forest model developed in this study can assist clinicians in more accurately identifying high-risk SAP patients at an early stage, thereby enabling timely interventions to reduce early mortality.

Citation: GUO Jiulin, WU Youwei, PENG Wei. Development and validation of an explainable machine learning model for predicting early mortality in patients with severe acute pancreatitis: a retrospective cohort study. CHINESE JOURNAL OF BASES AND CLINICS IN GENERAL SURGERY, 2025, 32(12): 1569-1576. doi: 10.7507/1007-9424.202507045 Copy

Copyright ? the editorial department of CHINESE JOURNAL OF BASES AND CLINICS IN GENERAL SURGERY of West China Medical Publisher. All rights reserved

  • Previous Article

    Global liver cancer burden attributable to high BMI from 1990 to 2021: a systematic analysis of the Global Burden of Disease Study 2021
  • Next Article

    Assessing the causal association of 1 400 blood metabolites with the risk of pancreatic cancer: a comprehensive Mendelian randomized study