{"title":"Machine learning for temporary stoma after intestinal resection in surgical decision-making of Crohn's disease.","authors":"Fang-Tao Wang, Yin Lin, Ren-Yuan Gao, Xiao-Cai Wu, Tian-Qi Wu, Yi-Ran Jiao, Ji-Yuan Li, Lu Yin, Chun-Qiu Chen","doi":"10.1186/s12876-025-03668-7","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Crohn's disease (CD) often necessitates surgical intervention, with temporary stoma creation after intestinal resection (IR) being a crucial decision. This study aimed to construct novel models based on machine learning (ML) to predict temporary stoma formation after IR for CD.</p><p><strong>Methods: </strong>Patient data who underwent IR for CD at our center between July 2017 and March 2023 were collected for inclusion in this retrospective study. Eligible CD patients were randomly divided into training and validation cohorts. Feature selection was executed using the least absolute shrinkage and selection operator. We employed three ML algorithms including traditional logistic regression, novel random forest and XG-Boost to create prediction models. The area under the curve (AUC), accuracy, sensitivity, specificity, precision, recall, and F1 score were used to evaluate these models. SHapley Additive exPlanation (SHAP) approach was used to assess feature importance.</p><p><strong>Results: </strong>A total of 252 patients with CD were included in the study, 150 of whom underwent temporary stoma creation after IR. Eight independent predictors emerged as the most valuable features. An AUC between 0.886 and 0.998 was noted among the three ML algorithms. The random forest (RF) algorithms demonstrated the most optimal performance (0.998 in the training cohort and 0.780 in the validation cohort). By employing the SHAP method, we identified the variables that contributed to the model and their correlation with temporary stoma formation after IR for CD.</p><p><strong>Conclusions: </strong>The proposed RF model showed a good predictive ability for identifying patients at high risk for temporary stoma formation after IR for CD, which can assist in surgical decision-making in CD management, provide personalized guidance for temporary stoma formation, and improve patient outcomes.</p>","PeriodicalId":9129,"journal":{"name":"BMC Gastroenterology","volume":"25 1","pages":"117"},"PeriodicalIF":2.5000,"publicationDate":"2025-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11863836/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Gastroenterology","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12876-025-03668-7","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"GASTROENTEROLOGY & HEPATOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Crohn's disease (CD) often necessitates surgical intervention, with temporary stoma creation after intestinal resection (IR) being a crucial decision. This study aimed to construct novel models based on machine learning (ML) to predict temporary stoma formation after IR for CD.
Methods: Patient data who underwent IR for CD at our center between July 2017 and March 2023 were collected for inclusion in this retrospective study. Eligible CD patients were randomly divided into training and validation cohorts. Feature selection was executed using the least absolute shrinkage and selection operator. We employed three ML algorithms including traditional logistic regression, novel random forest and XG-Boost to create prediction models. The area under the curve (AUC), accuracy, sensitivity, specificity, precision, recall, and F1 score were used to evaluate these models. SHapley Additive exPlanation (SHAP) approach was used to assess feature importance.
Results: A total of 252 patients with CD were included in the study, 150 of whom underwent temporary stoma creation after IR. Eight independent predictors emerged as the most valuable features. An AUC between 0.886 and 0.998 was noted among the three ML algorithms. The random forest (RF) algorithms demonstrated the most optimal performance (0.998 in the training cohort and 0.780 in the validation cohort). By employing the SHAP method, we identified the variables that contributed to the model and their correlation with temporary stoma formation after IR for CD.
Conclusions: The proposed RF model showed a good predictive ability for identifying patients at high risk for temporary stoma formation after IR for CD, which can assist in surgical decision-making in CD management, provide personalized guidance for temporary stoma formation, and improve patient outcomes.
期刊介绍:
BMC Gastroenterology is an open access, peer-reviewed journal that considers articles on all aspects of the prevention, diagnosis and management of gastrointestinal and hepatobiliary disorders, as well as related molecular genetics, pathophysiology, and epidemiology.