Early prediction of severe acute pancreatitis using machine learning

Pancreatology. 2022 Jan;22(1):43-50. doi: 10.1016/j.pan.2021.10.003. Epub 2021 Oct 16.

Abstract

Background: Acute pancreatitis (AP) is one of the most common causes of gastrointestinal-related hospitalizations in the United States. Severe AP (SAP) is associated with a mortality rate of nearly 30% and is distinguished from milder forms of AP. Risk stratification to identify SAP cases needing inpatient treatment is an important aspect of AP diagnosis.

Methods: We developed machine learning algorithms to predict which patients presenting with AP would require treatment for SAP. Three models were developed using logistic regression, neural networks, and XGBoost. Models were assessed in terms of area under the receiver operating characteristic (AUROC) and compared to the Harmless Acute Pancreatitis Score (HAPS) and Bedside Index for Severity in Acute Pancreatitis (BISAP) scores for AP risk stratification.

Results: 61,894 patients were used to train and test the machine learning models. With an AUROC value of 0.921, the model developed using XGBoost outperformed the logistic regression and neural network-based models. The XGBoost model also achieved a higher AUROC than both HAPS and BISAP for identifying patients who would be diagnosed with SAP.

Conclusions: Machine learning may be able to improve the accuracy of AP risk stratification methods and allow for more timely treatment and initiation of interventions.

Keywords: Acute pancreatitis; Clinical decision support; Electronic health records; Machine learning.

MeSH terms

  • Acute Disease
  • Adolescent
  • Adult
  • Aged
  • Aged, 80 and over
  • Female
  • Humans
  • Machine Learning*
  • Male
  • Middle Aged
  • Pancreatitis / diagnosis*
  • Predictive Value of Tests
  • Prognosis
  • ROC Curve
  • Retrospective Studies
  • Severity of Illness Index