Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Sep 21;29(35):5138-5153.
doi: 10.3748/wjg.v29.i35.5138.

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

Affiliations

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

Simon Sirtl et al. World J Gastroenterol. .

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.

PubMed Disclaimer

Conflict of interest statement

Conflict-of-interest statement: All the authors report no relevant conflicts of interest for this article.

Figures

Figure 1
Figure 1
Flow chart for development and external independent validation of microlithiasis prediction score. In the Ludwig-Maximilians-Universität in Munich identification cohort, 218 acute pancreatitis patients treated as inpatients between 2015-2020 were included in the final machine learning-based score survey. The validation cohort, consisting of 117 pancreatitis cases, was composed of patient data from the University Hospital of Göttingen and Technical University Munich. The microlithiasis predictive model was trained using data from both biliary sludge and biliary microlithiasis patients to cover the entirety of biliary microconcrements and to reflect the current lack of uniform definitions of biliary sludge and biliary microlithiasis in clinical practice. EUS: Endosonography; AP: Acute pancreatitis.
Figure 2
Figure 2
Machine-learning based model for the prediction of biliary sludge and microlithiasis in the context of acute (presumed) idiopathic acute pancreatitis. Of the initial 192 variables analysed, 154 were included in the categorisation step after excluding those variables without evidence of variable variance. Using an auto-machine learning approach, the final (iterative) predictive model was developed via the base model step. ML: Machine learning.
Figure 3
Figure 3
Graphical representation of the prediction model variables according to importance of scale. A: Variables of the final (iterated) auto-machine learning prediction model are ordered by scale of importance; B and C: Precoat diagram showing robust positive and negative prediction (3/81 patient cases were misclassified as microlithiasis and not other-acute pancreatitis). Gamma-GT: Gamma-glutamyl transpeptidase; AST: Aspartate aminotransferase; GOT: Glutamic oxalacetic transaminases; ALT: Alanine transaminase; GPT: Glutamic pyruvic transaminase; LDH: Lactate dehydrogenase; RDW: Red blood cell distribution width.

References

    1. Iannuzzi JP, King JA, Leong JH, Quan J, Windsor JW, Tanyingoh D, Coward S, Forbes N, Heitman SJ, Shaheen AA, Swain M, Buie M, Underwood FE, Kaplan GG. Global Incidence of Acute Pancreatitis Is Increasing Over Time: A Systematic Review and Meta-Analysis. Gastroenterology. 2022;162:122–134. - PubMed
    1. Lee JK, Enns R. Review of idiopathic pancreatitis. World J Gastroenterol. 2007;13:6296–6313. - PMC - PubMed
    1. Roberts SE, Morrison-Rees S, John A, Williams JG, Brown TH, Samuel DG. The incidence and aetiology of acute pancreatitis across Europe. Pancreatology. 2017;17:155–165. - PubMed
    1. Hallensleben ND, Umans DS, Bouwense SA, Verdonk RC, Romkens TE, Witteman BJ, Schwartz MP, Spanier MB, Laheij R, van Santvoort HC, Besselink MG, van Hooft JE, Bruno MJ Dutch Pancreatitis Study Group. The diagnostic work-up and outcomes of 'presumed' idiopathic acute pancreatitis: A post-hoc analysis of a multicentre observational cohort. United European Gastroenterol J. 2020;8:340–350. - PMC - PubMed
    1. Umans DS, Rangkuti CK, Sperna Weiland CJ, Timmerhuis HC, Bouwense SAW, Fockens P, Besselink MG, Verdonk RC, van Hooft JE Dutch Pancreatitis Study Group. Endoscopic ultrasonography can detect a cause in the majority of patients with idiopathic acute pancreatitis: a systematic review and meta-analysis. Endoscopy. 2020;52:955–964. - PubMed