Development of a predictive model and application for spontaneous passage of common bile duct stones based on automated machine learning

Journal Title: Journal of Clinical Hepatology - Year 2025, Vol 41, Issue 3

Abstract

[Objective] To develop a predictive model and application for spontaneous passage of common bile duct stones using automated machine learning algorithms given the complexity of treatment decision-making for patients with common bile duct stones, and to reduce unnecessary endoscopic retrograde cholangiopancreatography (ERCP) procedures. [Methods] A retrospective analysis was performed for the data of 835 patients who were scheduled for ERCP after a confirmed diagnosis of common bile duct stones based on imaging techniques in Changshu First People’s Hospital (dataset 1) and Changshu Traditional Chinese Medicine Hospital (dataset 2). The dataset 1 was used for the training and internal validation of the machine learning model and the development of an application, and the dataset 2 was used for external testing. A total of 22 potential predictive variables were included for the establishment and internal validation of the LASSO regression model and various automated machine learning models. The area under the receiver operating characteristic curve (AUC), sensitivity, specificity, and accuracy were used to assess the performance of models and identify the best model. Feature importance plots, force plots, and SHAP plots were used to interpret the model. The Python Dash library and the best model were used to develop a web application, and external testing was conducted using the dataset 2. The Kolmogorov-Smirnov test was used to examine whether the data were normally distributed, and the Mann-Whitney U test was used for comparison between two groups, while the chi-square test or the Fisher’s exact test was used for comparison of categorical data between groups. [Results] Among the 835 patients included in the study, 152 (18.20%) experienced spontaneous stone passage. The LASSO model achieved an AUC of 0.875 in the training set (n=588) and 0.864 in the validation set (n=171), and the top five predictive factors in terms of importance were solitary common bile duct stones, non-dilated common bile duct, diameter of common bile duct stones, a reduction in serum alkaline phosphatase (ALP), and a reduction in gamma-glutamyl transpeptidase (GGT). A total of 55 models were established using automated machine learning, among which the gradient boosting machine (GBM) model had the best performance, with an AUC of 0.891 (95% confidence interval: 0.859‍ ‍—‍ ‍0.927), outperforming the extreme randomized tree mode, the deep learning model, the generalized linear model, and the distributed random forest model. The GBM model had an accuracy of 0.855, a sensitivity of 0.846, and a specificity of 0.857 in the test set (n=76). The variable importance analysis showed that five factors had important influence on the prediction of spontaneous stone passage, i.e., were solitary common bile duct stones, non-dilated common bile duct, a stone diameter of <8 mm, a reduction in serum ALP, and a reduction in GGT. The SHAP analysis of the GBM model showed a significant increase in the probability of spontaneous stone passage in patients with solitary common bile duct stones, non-dilated common bile duct, a stone diameter of <8 mm, and a reduction in serum ALP or GGT. [Conclusion] The GBM model and application developed using automated machine learning algorithms exhibit excellent predictive performance and user-friendliness in predicting spontaneous stone passage in patients with common bile duct stones. This application can help avoid unnecessary ERCP procedures, thereby reducing surgical risks and healthcare costs.

Authors and Affiliations

Jian CHEN, Kaijian XIA, Fuli GAO, Luojie LIU, Ganhong WANG, Xiaodan XU

Keywords

Related Articles

New advances in antiviral therapy during pregnancy to block mother-to-child transmission of hepatitis B virus

Mother-to-child transmission of hepatitis B virus (HBV) is one of the primary causes of the high disease burden of chronic hepatitis B in China, and blocking this route of transmission has an important strategic signi...

Influencing factors for the homing ability of mesenchymal stem cells in end-stage liver disease and optimization measures

Mesenchymal stem cells (MSCs) have emerged as a promising cellular therapy for end-stage liver disease (ESLD) due to their robust self-regenerative, paracrine, and immunomodulatory characteristics, providing new d...

Features of intestinal flora in patients with nonalcoholic fatty liver disease and Helicobacter pylori infection

[Objective] To investigate the features and mechanism of action of intestinal flora in patients with nonalcoholic fatty liver disease (NAFLD) and Helicobacter pylori (HP) infection by comparing the changes in intesti...

Distribution pattern of traditional Chinese medicine syndromes and analysis of influencing factors in pancreatic cancer

[Objective] To investigate the influencing factors for traditional Chinese medicine (TCM) syndromes in pancreatic cancer by analyzing 608 cases, and to provide a theoretical reference for TCM syndrome differentiation...

Surgical treatment of gallbladder cancer: Current status and advances

Gallbladder cancer is a malignant tumor with an extremely poor prognosis, and radical surgery remains the only potentially curative treatment method for this disease. For stage Tis and T1a gallbladder cancer, cholecyst...

Download PDF file
  • EP ID EP768476
  • DOI 10.12449/JCH250319
  • Views 4
  • Downloads 0

How To Cite

Jian CHEN, Kaijian XIA, Fuli GAO, Luojie LIU, Ganhong WANG, Xiaodan XU (2025). Development of a predictive model and application for spontaneous passage of common bile duct stones based on automated machine learning. Journal of Clinical Hepatology, 41(3), -. https://www.europub.co.uk/articles/-A-768476