Machine learning-based decision tool for selecting patients with idiopathic acute pancreatitis for endosonography to exclude a biliary aetiology

World J Gastroenterol. 2023 Sep 21;29(35):5138-5153. doi: 10.3748/wjg.v29.i35.5138.

Abstract

Background: Biliary microlithiasis/sludge is detected in approximately 30% of patients with idiopathic acute pancreatitis (IAP). As recurrent biliary pancreatitis can be prevented, the underlying aetiology of IAP should be established.

Aim: To develop a machine learning (ML) based decision tool for the use of endosonography (EUS) in pancreatitis patients to detect sludge and microlithiasis.

Methods: We retrospectively used routinely recorded clinical and laboratory parameters of 218 consecutive patients with confirmed AP admitted to our tertiary care hospital between 2015 and 2020. Patients who did not receive EUS as part of the diagnostic work-up and whose pancreatitis episode could be adequately explained by other causes than biliary sludge and microlithiasis were excluded. We trained supervised ML classifiers using H2O.ai automatically selecting the best suitable predictor model to predict microlithiasis/sludge. The predictor model was further validated in two independent retrospective cohorts from two tertiary care centers (117 patients).

Results: Twenty-eight categorized patients' variables recorded at admission were identified to compute the predictor model with an accuracy of 0.84 [95% confidence interval (CI): 0.791-0.9185], positive predictive value of 0.84, and negative predictive value of 0.80 in the identification cohort (218 patients). In the validation cohort, the robustness of the prediction model was confirmed with an accuracy of 0.76 (95%CI: 0.673-0.8347), positive predictive value of 0.76, and negative predictive value of 0.78 (117 patients).

Conclusion: We present a robust and validated ML-based predictor model consisting of routinely recorded parameters at admission that can predict biliary sludge and microlithiasis as the cause of AP.

Keywords: Acute pancreatitis; Biliary pancreatitis; Endosonography; Idiopathic acute pancreatitis; Microlithiasis; Sludge.

MeSH terms

  • Acute Disease
  • Endosonography*
  • Humans
  • Machine Learning
  • Pancreatitis, Chronic*
  • Patient Selection
  • Retrospective Studies
  • Sewage

Substances

  • Sewage