BACKGROUND AND AIMS: A robust model of post-ERCP pancreatitis (PEP) risk is not currently available. We aimed to develop a machine learning-based tool for PEP risk prediction to aid in clinical decision-making related to periprocedural prophylaxis selection and post-procedural monitoring.
METHODS: Feature selection, model training, and validation were performed using patient-level data from 12 randomized controlled trials. A gradient-boosted machine (GBM) model was trained to estimate PEP risk and the performance of the resulting model was evaluated using the area under the receiver operating curve (AUC) with 5-fold cross-validation. A web-based clinical decision-making tool was created, and a prospective pilot study was performed using data from ERCPs performed at the Johns Hopkins Hospital over a one-month period.
RESULTS: A total of 7389 patients were included in the GBM with an 8.6% rate of PEP. The model was trained on twenty PEP risk factors and 5 prophylactic interventions (rectal non-steroidal anti-inflammatory drugs [NSAID], aggressive hydration, combined rectal NSAID and aggressive hydration, pancreatic duct [PD] stenting, and combined rectal NSAID and PD stenting). The resulting GBM model had an AUC of 0.70 (65% specificity, 65% sensitivity, 95% negative predictive value, 15% positive predictive value). A total of 135 patients were included in the prospective pilot study, resulting in an AUC of 0.74.
CONCLUSIONS: This study demonstrates the feasibility and utility of a novel machine learning-based PEP risk estimation tool with high negative predictive value to aid in prophylaxis selection and identify patients at low risk who may not require extended post-procedure monitoring.
* Title and MeSH Headings from MEDLINE®/PubMed®, a database of the U.S. National Library of Medicine.