Related Experiment Video
Updated: Jun 8, 2025

Preparing a Mice Model of Severe Acute Pancreatitis via a Combination of Caerulein and Lipopolysaccharide Intraperitoneal Injection
Published on: May 10, 2024
Interpretable prediction of 30-day mortality in patients with acute pancreatitis based on machine learning and SHAP
Xiaojing Li1, Yueqin Tian2, Shuangmei Li1
1Department of Emergency, the Eighth Affiliated Hospital of Sun Yat-sen University, Shenzhen, 518033, China.
Background:
Severe acute pancreatitis (SAP) can be fatal if left unrecognized and untreated. The purpose was to develop a machine learning (ML) model for predicting the 30-day all-cause mortality risk in SAP patients and to explain the most important predictors.
Methods:
This research utilized six ML methods, including logistic regression (LR), k-nearest neighbors(KNN), support vector machines (SVM), naive Bayes (NB), random forests(RF), and extreme gradient boosting(XGBoost), to construct six predictive models for SAP. An extensive evaluation was conducted to determine the most effective model and then the Shapley Additive exPlanations (SHAP) method was applied to visualize key variables. Utilizing the optimized model, stratified predictions were made for patients with SAP. Further, the study employed multivariable Cox regression analysis and Kaplan-Meier survival curves, along with subgroup analysis, to explore the relationship between the machine learning-based score and 30-day mortality.
Results:
Through LASSO regression and recursive feature elimination (RFE), 25 optimal feature variables are selected. The XGBoost model performed best, with an area under the curve (AUC) of 0.881, a sensitivity of 0.5714, a specificity of 0.9651 and an F1 score of 0.64. The first six most important feature variables were the use of vasopressor, high Charlson comorbidity index, low blood oxygen saturation, history of malignant tumor, hyperglycemia and high APSIII score. Based on the optimal threshold of 0.62, patients were divided into high and low-risk groups, and the 30-day survival rate in the high-risk group decreased significantly. COX regression analysis further confirmed the positive correlation between high-risk scores and 30-day mortality. In the subgroup analysis, the model showed good risk stratification ability in patients with different gender, renal replacement therapy and with or without a history of malignant tumor, but it was not effective in predicting peripheral vascular disease.
Conclusions:
the XGBoost model effectively predicts the severity of SAP, serving as a valuable tool for clinicians to identify SAP early.
More Related Videos
07:15Machine Learning Algorithms for Early Detection of Bone Metastases in an Experimental Rat Model
Published on: August 16, 2020
04:09Predicting Treatment Response to Image-Guided Therapies Using Machine Learning: An Example for Trans-Arterial Treatment of Hepatocellular Carcinoma
Published on: October 10, 2018
Related Concept Videos
Acute Pancreatitis II: Clinical Manifestations and Management
Acute Pancreatitis I: Introduction
Acute pancreatitis is characterized by rapid inflammation of the pancreas, often caused by factors like gallstone blockage or excessive alcohol consumption. Chronic pancreatitis, on the other hand, is a slow, progressive inflammation that may result from long-term alcohol abuse, obstructions in the pancreatic duct, or genetic factors.
The causes of acute pancreatitis include: