An interpretable XGboost algorithm for predicting 30-day mortality in acute pancreatitis using routine biomarkers

OBJECTIVE: To develop and validate a machine learning (ML) algorithm for predicting 30-day mortality in adult patients with acute pancreatitis (AP) using routinely readily available laboratory parameters. METHODS: This retrospective cohort study analyzed 965 consecutive AP patients hospitalized between January 2017 and December 2019. Feature selection was performed using Least Absolute Shrinkage and Selection Operator (LASSO) regression, followed by the evaluation of eleven machine learning algorithms. Model performance was assessed using via the area under the receiver operating characteristic curve (AUC). The optimal model was further interpreted using SHapley additive explanation (SHAP). RESULTS: The overall 30-day mortality rate was 4.5% (43/965). Among the evaluated algorithms, extreme gradient boosting (XGboost) demonstrated the best performance in both the development and validation cohorts. SHAP analysis identified creatine kinase (CK) as the most influential predictor, followed by lactate dehydrogenase (LDH), age, prothrombin time (PT), and carbohydrate antigen 19 - 9 (CA19-9). A simplified algorithm incorporating only the top five features achieved near-perfect discrimination in the development cohort (AUC = 1.000) and maintained robust performance in the validation cohort (AUC = 0.847). This five-feature XGboost algorithm showed superior performance compared to conventional prognostic scores in the development cohort. CONCLUSION: An interpretable XGboost algorithm incorporating five key parameters (CK, LDH, age, PT, CA19-9) shows potential to predict predicts 30-day mortality in AP patients. This single-center retrospective model demonstrates promising internal performance but requires prospective multicenter external validation before clinical implementation. The web-based platform is provided as a research prototype for proof-of-concept and must not be used for real-time clinical decision-making at this stage.

Authors

Institutions

Publication Details

Journal
BMC Medical Research Methodology
Published
2026-06-25
DOI
https://doi.org/10.1186/s12874-026-02900-6
Primary Topic
Pancreatitis Pathology and Treatment
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An interpretable XGboost algorithm for predicting 30-day mortality in acute pancreatitis using routine biomarkers

Mengxiao Xie, Bin Pei, Ying Chen, Jun Zhou et al.
BMC Medical Research Methodology
Pancreatitis Pathology and Treatment
article

An interpretable XGboost algorithm for predicting 30-day mortality in acute pancreatitis using routine biomarkers

Mengxiao Xie, Bin Pei, Ying Chen, Jun Zhou, Jingping Liu, Wenyang Hou
article en

Abstract

OBJECTIVE: To develop and validate a machine learning (ML) algorithm for predicting 30-day mortality in adult patients with acute pancreatitis (AP) using routinely readily available laboratory parameters. METHODS: This retrospective cohort study analyzed 965 consecutive AP patients hospitalized between January 2017 and December 2019. Feature selection was performed using Least Absolute Shrinkage and Selection Operator (LASSO) regression, followed by the evaluation of eleven machine learning algorithms. Model performance was assessed using via the area under the receiver operating characteristic curve (AUC). The optimal model was further interpreted using SHapley additive explanation (SHAP). RESULTS: The overall 30-day mortality rate was 4.5% (43/965). Among the evaluated algorithms, extreme gradient boosting (XGboost) demonstrated the best performance in both the development and validation cohorts. SHAP analysis identified creatine kinase (CK) as the most influential predictor, followed by lactate dehydrogenase (LDH), age, prothrombin time (PT), and carbohydrate antigen 19 - 9 (CA19-9). A simplified algorithm incorporating only the top five features achieved near-perfect discrimination in the development cohort (AUC = 1.000) and maintained robust performance in the validation cohort (AUC = 0.847). This five-feature XGboost algorithm showed superior performance compared to conventional prognostic scores in the development cohort. CONCLUSION: An interpretable XGboost algorithm incorporating five key parameters (CK, LDH, age, PT, CA19-9) shows potential to predict predicts 30-day mortality in AP patients. This single-center retrospective model demonstrates promising internal performance but requires prospective multicenter external validation before clinical implementation. The web-based platform is provided as a research prototype for proof-of-concept and must not be used for real-time clinical decision-making at this stage.

BMC Medical Research Methodology
Conselho Nacional de Desenvolvimento Científico e Tecnológico (BR), Nanjing University of Chinese Medicine (CN), Suizhou Central Hospital (CN), Roche (China) (CN), National Center for Clinical Laboratories (CN), Nanjing Medical University (CN)
Openalex Percentile: Top 6%
Pancreatitis Pathology and Treatment
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.