Machine learning and nomogram for predicting severity of acute cholangitis: development and internal validation of a dual-framework model in a retrospective cohort study.
Yun-Xiao Lyu, Bin Wang, Zhong Lyu
Department of Hepatobiliary Surgery, Affiliated Dongyang Hospital of Wenzhou Medical University, Dongyang, Zhejiang, China.
Key points
From the paper's conclusion- Conclusions A dual-framework combining ML-based three-class severity grading and a nomogram for binary triage may provide complementary support for standardising TG18 severity assessment.
Abstract
BACKGROUND: Accurate severity grading of acute cholangitis (AC) according to the Tokyo Guidelines 2018 (TG18) is essential for guiding biliary drainage decisions and intensive care allocation, yet bedside application of the multi-parameter grading system remains challenging. Existing prediction models are predominantly binary and lack interpretable clinical tools. METHODS: This retrospective cohort study enrolled 1,918 consecutive patients with acute cholangitis graded by TG18 at a single tertiary hepatobiliary centre (2021-2025). Random forest (RF), XGBoost, and support vector machine (SVM) were trained on seven LASSO-selected variables for three-class Grade I/II/III prediction. A separate eight-variable logistic regression nomogram distinguished Grade I from Grade II/III. Models were developed on a 70% training set (n = 1,342) and evaluated on a 30% held-out internal test set (n = 576) using bootstrap confidence intervals. RESULTS: RF achieved macro-AUC 0.84 (95% CI: 0.81-0.87), overall accuracy 72.2% and balanced accuracy 64.9%; XGBoost performed comparably (macro-AUC 0.84, accuracy 71.9%). Per-class recall for RF was 0.83 (Grade I), 0.56 (Grade II) and 0.56 (Grade III), indicating that almost half of Grade II cases were not correctly identified. The nomogram yielded AUC 0.85 (0.82-0.88), sensitivity 0.72, specificity 0.82, and negative predictive value 0.82 at the Youden reference threshold of 0.47; operating characteristics at other thresholds, including a sensitivity-weighted rule-out threshold, are reported in the Supplementary Material. Decision curve analysis suggested potential net benefit across the evaluated range of threshold probabilities. SHAP analysis identified platelet count, age, and serum albumin as the top predictors. CONCLUSIONS: A dual-framework combining ML-based three-class severity grading and a nomogram for binary triage may provide complementary support for standardising TG18 severity assessment. Both frameworks predict the TG18 grade itself rather than downstream clinical outcomes, and Grade II recognition remains limited; they should therefore be regarded as adjuncts to-not replacements for-TG18 assessment. Prospective multicentre validation against clinical outcomes is required before any clinical use.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Machine Learning Model for Predicting Risk Factor Analysis and a Mortality Prediction Model of Acute Cholangitis Complicated with Sepsis.Journal of visualized experiments : JoVE · 2026
- Predictive value of systemic immune-inflammatory indices for severe acute cholangitis and in-hospital mortalityBMC Gastroenterology · 2026
- Interpretable machine learning models for predicting New-onset acute organ injury within 48 hours of admission in patients with community-acquired acute cholangitis.Frontiers in medicine · 2026
- Development and external validation of a pre-drainage prediction model for moderate-to-severe gallstone-related acute cholangitisBMC Gastroenterology · 2026
- Artificial intelligence in gangrenous cholecystitis: advances in risk factor identification and preoperative prediction-a scoping review.Frontiers in surgery · 2026
- Association between novel inflammatory markers and severity of acute cholangitis: a retrospective cohort study.Frontiers in medicine · 2026