{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,15]],"date-time":"2026-06-15T11:02:53Z","timestamp":1781521373075,"version":"3.54.1"},"reference-count":38,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T00:00:00Z","timestamp":1762128000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Ningxia Autonomous Region Key R&D Program Project","award":["2021BEG02038"],"award-info":[{"award-number":["2021BEG02038"]}]}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Surg."],"abstract":"<jats:sec>\n                    <jats:title>Background<\/jats:title>\n                    <jats:p>Post-endoscopic retrograde cholangiopancreatography (ERCP) pancreatitis (PEP) is one most frequent and severe complication of ERCP. In consideration of recent advancements in both endoscopic and artificial intelligence research, it is possible to construct a practical risk prediction model to facilitate the identification of PEP patients at elevated risk.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Aim<\/jats:title>\n                    <jats:p>We developed and validated a concise predictive model for post-ERCP pancreatitis risk with logistic regression (LR), LightGBM, Support Vector Machine (SVM), XGBoost, and Multilayer Perceptron (MLP) neural network models.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>We selected 688 patients undergone ERCP to form the basic dataset, with 70% for training and 30% for validation. Subsequently, Stepwise Backward Selection Based on Logistic Regression was utilized to select pertinent clinical features, incorporating the machine learning (ML) models to construct the final predictive model. The efficacy of the model was evaluated by various metrics. These newly identified clinical features were then incorporated into a simplified, points-based risk scoring system for potential bedside application and further evaluation.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>Based on the collected data and the results of stepwise backward regression, we identified the following features as potentially significant clinical variables that influence the risk of post-ERCP pancreatitis: periampullary diverticulum, pancreatic stent placement, pancreatic guidewire passages, dilation of the extrahepatic bile duct, age, and coronary artery disease, and constructed a prediction model. Following this, several ML models were constructed to assess the performance of this model. All ML models demonstrated superior performance to conventional logistic regression (LR) models in terms of AUC curves, with XGBoost, SVM, LightGBM, and MLP models all achieving at least acceptable performance levels. Finally, we developed a simplified scoring system based on LightGBM model with an AUC of 0.75.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusions<\/jats:title>\n                    <jats:p>We developed and validated a concise predictive model for post-ERCP pancreatitis risk, and a simplified scoring system based on the LightGBM model. This model facilitates individual risk prediction and preventive strategy selection.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.3389\/fsurg.2025.1628956","type":"journal-article","created":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T06:22:58Z","timestamp":1762150978000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Development and validation of a practical prediction model for post-ERCP pancreatitis using machine learning"],"prefix":"10.3389","volume":"12","author":[{"given":"Tianyu","family":"De","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Guohui","family":"Du","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hongkun","family":"Yin","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hao","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Wei","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tian","family":"Ma","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Junbai","family":"Ma","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hao","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Qi","family":"Wang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,11,3]]},"reference":[{"key":"B1","first-page":"25","article-title":"[ERCP and acute pancreatitis]","volume":"131","author":"Simuni\u0107","year":"2009","journal-title":"Lijec Vjesn"},{"key":"B2","doi-asserted-by":"publisher","first-page":"596","DOI":"10.1016\/j.dld.2011.01.019","article-title":"Difficult biliary cannulation during ERCP: how to facilitate biliary access and minimize the risk of post-ERCP pancreatitis","volume":"43","author":"Testoni","year":"2011","journal-title":"Dig Liver Dis"},{"key":"B3","doi-asserted-by":"publisher","first-page":"485","DOI":"10.1002\/bjs5.50162","article-title":"Risk factors for pancreatitis following endoscopic retrograde cholangiopancreatography","volume":"3","author":"Syren","year":"2019","journal-title":"BJS Open"},{"key":"B4","doi-asserted-by":"publisher","first-page":"10760296231171082","DOI":"10.1177\/10760296231171082","article-title":"Machine learning to dynamically predict in-hospital venous thromboembolism after inguinal hernia surgery: results from the CHAT-1 study","volume":"29","author":"Yan","year":"2023","journal-title":"Clin Appl Thromb Hemost"},{"key":"B5","doi-asserted-by":"publisher","first-page":"29","DOI":"10.11323\/jjmp.36.1_29","article-title":"[Machine learning for computer-aided diagnosis]","volume":"36","author":"Nemoto","year":"2016","journal-title":"Igaku Butsuri"},{"key":"B6","doi-asserted-by":"publisher","first-page":"254","DOI":"10.1038\/nrgastro.2011.63","article-title":"Pediatrics: ERCP in children","volume":"8","author":"Bang","year":"2011","journal-title":"Nat Rev Gastroenterol Hepatol"},{"key":"B7","doi-asserted-by":"publisher","first-page":"1190","DOI":"10.1016\/j.gie.2017.07.008","article-title":"ASGE guidelines for ERCP competence","volume":"86","author":"Cotton","year":"2017","journal-title":"Gastrointest Endosc"},{"key":"B8","doi-asserted-by":"publisher","first-page":"16","DOI":"10.1093\/gastro\/gov036","article-title":"Imaging lexicon for acute pancreatitis: 2012 Atlanta classification revisited","volume":"4","author":"Sureka","year":"2016","journal-title":"Gastroenterol Rep (Oxf)"},{"key":"B9","doi-asserted-by":"publisher","first-page":"674","DOI":"10.1055\/s-0032-1309345","article-title":"What predicts failed cannulation and therapy at ERCP? Results of a large-scale multicenter analysis","volume":"44","author":"Williams","year":"2012","journal-title":"Endoscopy"},{"key":"B10","doi-asserted-by":"publisher","first-page":"657","DOI":"10.1055\/s-0042-108641","article-title":"Papillary cannulation and sphincterotomy techniques at ERCP: European society of gastrointestinal endoscopy (ESGE) clinical guideline","volume":"48","author":"Testoni","year":"2016","journal-title":"Endoscopy"},{"key":"B11","doi-asserted-by":"publisher","first-page":"522","DOI":"10.1007\/s00330-017-4987-5","article-title":"Fluoroscopic percutaneous brush cytology, forceps biopsy and both in tandem for diagnosis of malignant biliary obstruction","volume":"28","author":"Boos","year":"2018","journal-title":"Eur Radiol"},{"key":"B12","doi-asserted-by":"publisher","first-page":"S69","DOI":"10.1111\/j.1443-1661.2010.00953.x","article-title":"Endoscopic management of bile duct stones","volume":"22","author":"Itoi","year":"2010","journal-title":"Dig Endosc"},{"key":"B13","doi-asserted-by":"publisher","first-page":"1","DOI":"10.3390\/molecules27207085","article-title":"DAD-Net: classification of Alzheimer\u2019s disease using ADASYN oversampling technique and optimized neural network","volume":"27","author":"Ahmed","year":"2022","journal-title":"Molecules"},{"key":"B14","doi-asserted-by":"publisher","first-page":"e0238384","DOI":"10.1371\/journal.pone.0238384","article-title":"A novel machine learning strategy for model selections\u2014stepwise support vector machine (StepSVM)","volume":"15","author":"Guo","year":"2020","journal-title":"PLoS One"},{"key":"B15","doi-asserted-by":"publisher","first-page":"1039","DOI":"10.1001\/archsurg.2010.240","article-title":"Tread carefully with stepwise regression","volume":"145","author":"Livingston","year":"2010","journal-title":"Arch Surg"},{"key":"B16","doi-asserted-by":"publisher","first-page":"149","DOI":"10.17219\/acem\/66773","article-title":"Post-ERCP pancreatitis: pathophysiology, early identification and risk stratification","volume":"27","author":"Tryliskyy","year":"2018","journal-title":"Adv Clin Exp Med"},{"key":"B17","first-page":"390","article-title":"Management of post-ERCP pancreatitis","volume":"7","author":"Baillie","year":"2011","journal-title":"Gastroenterol Hepatol (N Y)"},{"key":"B18","doi-asserted-by":"publisher","first-page":"1078","DOI":"10.1002\/jgh3.12634","article-title":"New practical scoring system to predict post-endoscopic retrograde cholangiopancreatography pancreatitis: development and validation","volume":"5","author":"Fujita","year":"2021","journal-title":"JGH Open"},{"key":"B19","doi-asserted-by":"publisher","first-page":"2052","DOI":"10.1007\/s00464-021-08491-1","article-title":"Pre- and post-procedure risk prediction models for post-endoscopic retrograde cholangiopancreatography pancreatitis","volume":"36","author":"Park","year":"2022","journal-title":"Surg Endosc"},{"key":"B20","doi-asserted-by":"publisher","first-page":"105","DOI":"10.1007\/978-1-62703-748-8_7","article-title":"Introduction to machine learning","volume":"1107","author":"Ba\u015ftanlar","year":"2014","journal-title":"Methods Mol Biol"},{"key":"B21","doi-asserted-by":"publisher","first-page":"871","DOI":"10.1002\/cpt.1796","article-title":"An Introduction to machine learning","volume":"107","author":"Badillo","year":"2020","journal-title":"Clin Pharmacol Ther"},{"key":"B22","doi-asserted-by":"publisher","first-page":"387","DOI":"10.1016\/j.dld.2022.10.005","article-title":"Machine learning for the prediction of post-ERCP pancreatitis risk: a proof-of-concept study","volume":"55","author":"Archibugi","year":"2023","journal-title":"Dig Liver Dis"},{"key":"B23","doi-asserted-by":"publisher","first-page":"1075","DOI":"10.1016\/j.gie.2018.10.001","article-title":"ASGE guideline on the role of endoscopy in the evaluation and management of choledocholithiasis","volume":"89","author":"Buxbaum","year":"2019","journal-title":"Gastrointest Endosc"},{"key":"B24","doi-asserted-by":"publisher","first-page":"427","DOI":"10.1111\/1751-2980.13208","article-title":"Frequent guidewire passage into the pancreatic duct is an independent risk factor for postendoscopic retrograde cholangiopancreatography (ERCP) pancreatitis (PEP) among high-risk individuals: a post-hoc analysis of a randomized controlled trial data","volume":"24","author":"Goenka","year":"2023","journal-title":"J Dig Dis"},{"key":"B25","article-title":"Predictors of post-endoscopic retrograde cholangiopancreatography pancreatitis: a comprehensive systematic review and meta-analysis","author":"Beran","year":"2024","journal-title":"Clin Gastroenterol Hepatol"},{"key":"B26","first-page":"1455","article-title":"Duodenal diverticula","volume":"17","author":"Cryderman","year":"1927","journal-title":"Can Med Assoc J"},{"key":"B27","doi-asserted-by":"publisher","first-page":"e291","DOI":"10.7417\/CT.2014.1745","article-title":"Efficacy and safety of endoscopic retrograde cholangiopancreatography (ERCP) performed in patients with periampullary duodenal diverticula (PAD)","volume":"165","author":"Zippi","year":"2014","journal-title":"Clin Ter"},{"key":"B28","doi-asserted-by":"publisher","first-page":"e000262","DOI":"10.1136\/fmch-2019-000262","article-title":"Variable selection strategies and its importance in clinical prediction modelling","volume":"8","author":"Chowdhury","year":"2020","journal-title":"Fam Med Community Health"},{"key":"B29","first-page":"441","article-title":"Recent research on sphincter of oddi dysfunction","volume":"10","author":"Romagnuolo","year":"2014","journal-title":"Gastroenterol Hepatol (N Y)"},{"key":"B30","doi-asserted-by":"publisher","first-page":"e13921","DOI":"10.7759\/cureus.13921","article-title":"Endoscopic retrograde cholangiopancreatography in patients with versus without prior myocardial infarction or coronary revascularization: a nationwide cohort study","volume":"13","author":"Patel","year":"2021","journal-title":"Cureus"},{"key":"B31","doi-asserted-by":"publisher","first-page":"7369137","DOI":"10.1155\/2016\/7369137","article-title":"The hybrid feature selection algorithm based on Maximum Minimum backward selection search strategy for liver tissue pathological image classification","volume":"2016","author":"Liu","year":"2016","journal-title":"Comput Math Methods Med"},{"key":"B32","doi-asserted-by":"publisher","first-page":"2037","DOI":"10.1053\/j.gastro.2020.03.019","article-title":"How to prevent post-endoscopic retrograde cholangiopancreatography pancreatitis","volume":"158","author":"Boskoski","year":"2020","journal-title":"Gastroenterology"},{"key":"B33","doi-asserted-by":"publisher","first-page":"429","DOI":"10.1038\/nrgastro.2012.117","article-title":"Therapy: can rectal NSAIDs prevent post-ERCP pancreatitis?","volume":"9","author":"Testoni","year":"2012","journal-title":"Nat Rev Gastroenterol Hepatol"},{"key":"B34","doi-asserted-by":"publisher","first-page":"59","DOI":"10.1007\/s11894-020-00796-w","article-title":"Emerging therapies to prevent post-ERCP pancreatitis","volume":"22","author":"Thiruvengadam","year":"2020","journal-title":"Curr Gastroenterol Rep"},{"key":"B35","doi-asserted-by":"publisher","first-page":"2403","DOI":"10.3748\/wjg.v26.i19.2403","article-title":"Clinical significance of different periampullary diverticulum classifications for endoscopic retrograde cholangiopancreatography cannulation","volume":"26","author":"Yue","year":"2020","journal-title":"World J Gastroenterol"},{"key":"B36","doi-asserted-by":"publisher","first-page":"7","DOI":"10.1007\/s11894-019-0673-x","article-title":"The art of selective cannulation at ERCP","volume":"21","author":"Cunningham","year":"2019","journal-title":"Curr Gastroenterol Rep"},{"key":"B37","doi-asserted-by":"publisher","first-page":"1043","DOI":"10.1055\/a-2164-9565","article-title":"Biliary cannulation in ERCP: you don\u2019t need to be a shark if you now can be sharp!","volume":"55","author":"Anderloni","year":"2023","journal-title":"Endoscopy"},{"key":"B38","doi-asserted-by":"publisher","first-page":"148","DOI":"10.1002\/bjs.9736","article-title":"Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement","volume":"102","author":"Collins","year":"2015","journal-title":"Br J Surg"}],"container-title":["Frontiers in Surgery"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fsurg.2025.1628956\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,11,3]],"date-time":"2025-11-03T06:23:00Z","timestamp":1762150980000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fsurg.2025.1628956\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,11,3]]},"references-count":38,"alternative-id":["10.3389\/fsurg.2025.1628956"],"URL":"https:\/\/doi.org\/10.3389\/fsurg.2025.1628956","relation":{},"ISSN":["2296-875X"],"issn-type":[{"value":"2296-875X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,11,3]]},"article-number":"1628956"}}