ORIGINAL RESEARCH article
Front. Oncol.
Sec. Gastrointestinal Cancers: Gastric and Esophageal Cancers
Volume 15 - 2025 | doi: 10.3389/fonc.2025.1606938
Development and Validation of a Machine Learning Model to Predict Postoperative Complications Following Radical Gastrectomy for Gastric Cancer
Provisionally accepted- 1Department of Gastrointestinal Surgery, Clinical Oncology School of Fujian Medical University & Fujian Cancer Hospital, Fuzhou, China
- 2Department of Anesthesiology, Clinical Oncology School of Fujian Medical University & Fujian Cancer Hospital, Fuzhou, China
- 3College of Animal Science, Fujian Agriculture and Forestry University, Putian, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Postoperative complications significantly adversely affect recovery and prognosis following radical gastrectomy for gastric cancer. We developed and validated machine learning (ML) models to predict these complications and constructed a clinically applicable dynamic nomogram. Methods: Using a prospectively maintained database, we conducted a retrospective analysis of 1,486 patients from Fujian Cancer Hospital (training cohort) and 498 from the First Hospital of Putian City (validation cohort). Feature selection integrated Lasso regression, the Boruta algorithm, and Recursive Feature Elimination (RFE). Six ML models were developed and evaluated: TreeBagger (TB), Random Forest (RF), Support Vector Machine (SVM), Extreme Gradient Boosting (XGBoost), Gaussian Naïve Bayes (GNB), and Artificial Neural Network (ANN). The significant predictors identified were incorporated into a logistic regression model to determine independent risk factors, which then formed the basis of a dynamic nomogram deployed as an interactive web application for clinical use. Results: RF demonstrated numerically superior performance among the evaluated models in both cohorts. Independent risk factors included age, BMI, diabetes mellitus, ASA grade, operative time, and surgical approach. The dynamic nomogram achieved AUCs of 0.805 (training) and 0.856 (validation), with calibration curves and decision curve analysis confirming its reliability. DeLong's test revealed no significant difference in AUC between the RF model and nomogram in either cohort (training: Z = -0.385, p = 0.701; validation: Z = -1.756, p = 0.058). Conclusion: While the RF model provided optimal predictive accuracy among ML algorithms, the interpretable nomogram offers comparable discrimination and clinical accessibility. Both tools facilitate the early identification of high-risk patients, enabling personalized interventions to optimize postoperative recovery.
Keywords: gastric cancer, Postoperative Complications, machine learning, dynamic nomogram, Surgery
Received: 06 Apr 2025; Accepted: 25 Aug 2025.
Copyright: © 2025 Lin, Mingfang, Wei, Li, Jian and Peng. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Jinliang Jian, Department of Gastrointestinal Surgery, Clinical Oncology School of Fujian Medical University & Fujian Cancer Hospital, Fuzhou, China
Haiyan Peng, College of Animal Science, Fujian Agriculture and Forestry University, Putian, China
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.