Published online Sep 27, 2025. doi: 10.4240/wjgs.v17.i9.107977
Revised: May 14, 2025
Accepted: July 31, 2025
Published online: September 27, 2025
Processing time: 175 Days and 19.9 Hours
Parastomal hernia (PSH) is a common and challenging complication following preventive ostomy in rectal cancer patients, lacking accurate tools for early risk prediction.
To explore the application of machine learning algorithms in predicting the occurrence of PSH in patients undergoing preventive ostomy after rectal cancer resection, providing valuable support for clinical decision-making.
A retrospective analysis was conducted on the clinical data of 579 patients who underwent rectal cancer resection with preventive ostomy at Tongji Hospital, Huazhong University of Science and Technology, between January 2015 and June 2023. Various machine learning models were constructed and trained using pre
A total of 579 patients were included, with 31 (5.3%) developing PSH. Among the machine learning models, the random forest (RF) model showed the best performance. In the test set, the RF model achieved an area under the curve of 0.900, sensitivity of 0.900, and specificity of 0.725. SHAP analysis revealed that tumor distance from the anal verge, body mass index, and preoperative hypertension were the key factors influencing the occurrence of PSH.
Machine learning, particularly the RF model, demonstrates high accuracy and reliability in predicting PSH after preventive ostomy in rectal cancer patients. This technology supports personalized risk assessment and post
Core Tip: This research proposed and validated a predictive model based on machine learning techniques to assess the risk of parastomal hernia following prophylactic ostomy in individuals with rectal cancer. Among multiple algorithms, the random forest (RF) model achieved the best performance. SHapley Additive exPlanations identified tumor distance from the anal verge, body mass index, and preoperative hypertension as key predictors. An online risk prediction tool based on the RF model has been created to support early screening and individualized postoperative management, offering practical value for clinical decision-making.