Machine learning prediction model for surgical site infections after major abdominal surgery

Surgical site infections (SSIs) continue to exert a substantial burden on healthcare systems, particularly in resource-limited settings where they contribute to prolonged hospitalizations, escalated costs, and increased patient morbidity. The ability to accurately predict SSI risk is essential for implementing targeted prevention strategies and optimizing resource allocation, especially in constrained environments. We conducted a retrospective cohort study utilizing data from 525 patients who underwent major gastrointestinal surgery at Al-Thora General Hospital, the sole Ibb University-affiliated tertiary hospital in Yemen, between January 2018 and December 2023. Four machine learning models (Logistic Regression, Random Forest, XGBoost, and Neural Network) were developed using 38 preoperative and intraoperative variables. Temporal validation was performed, with data from 2018 to 2022 used for model training (n = 420) and 2023 data (n = 105) reserved for testing. Model performance was evaluated by area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), calibration metrics, and decision curve analysis. Subgroup analyses assessed model fairness across demographic and clinical strata. The observed SSI rate was 16.2%, consistent across both training and test sets. XGBoost achieved the highest predictive performance (AUROC: 0.934; 95% CI: 0.891–0.967; AUPRC: 0.809), outperforming logistic regression (AUROC: 0.868, p = 0.012) and neural network (AUROC: 0.890, p = 0.038) models. Random Forest also demonstrated competitive accuracy (AUROC: 0.924; AUPRC: 0.787). Robust performance was maintained across critical subgroups, with XGBoost yielding an AUROC of 0.967 among elderly patients and Random Forest achieving an AUROC of 0.979 among diabetic patients. All models systematically overestimated SSI risk (calibration slopes > 2.0), though XGBoost exhibited the best calibration (Brier score: 0.080). Decision curve analysis confirmed clinical utility within probability thresholds of 15–35%. Machine learning models, specifically XGBoost and Random Forest, can accurately predict SSI risk following major gastrointestinal surgery in the Yemeni healthcare context. Despite calibration limitations, these models demonstrate strong discriminative ability and clinical utility, supporting their use for risk stratification in resource-limited settings. The development of a simplified risk score offers a pragmatic alternative for implementation in environments with limited technological infrastructure.

Authors

Institutions

Publication Details

Journal
Patient Safety in Surgery
Published
2026-03-16
DOI
https://doi.org/10.1186/s13037-026-00481-3
Primary Topic
Surgical site infection prevention
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning prediction model for surgical site infections after major abdominal surgery

S Al-wageeh, Yasser Abdurabo Obadiel, Faisal Ahmed, Ahmed Ateik et al.
Patient Safety in Surgery
Surgical site infection prevention
article

Machine learning prediction model for surgical site infections after major abdominal surgery

S Al-wageeh, Yasser Abdurabo Obadiel, Faisal Ahmed, Ahmed Ateik, Wadee Abdullah Al-Shehari, Saif Ghabisha, Mohammed Al-Shehari, Qasem Alyhari, Wadhah Hassan Edrees
article en

Abstract

Surgical site infections (SSIs) continue to exert a substantial burden on healthcare systems, particularly in resource-limited settings where they contribute to prolonged hospitalizations, escalated costs, and increased patient morbidity. The ability to accurately predict SSI risk is essential for implementing targeted prevention strategies and optimizing resource allocation, especially in constrained environments. We conducted a retrospective cohort study utilizing data from 525 patients who underwent major gastrointestinal surgery at Al-Thora General Hospital, the sole Ibb University-affiliated tertiary hospital in Yemen, between January 2018 and December 2023. Four machine learning models (Logistic Regression, Random Forest, XGBoost, and Neural Network) were developed using 38 preoperative and intraoperative variables. Temporal validation was performed, with data from 2018 to 2022 used for model training (n = 420) and 2023 data (n = 105) reserved for testing. Model performance was evaluated by area under the receiver operating characteristic curve (AUROC), area under the precision-recall curve (AUPRC), calibration metrics, and decision curve analysis. Subgroup analyses assessed model fairness across demographic and clinical strata. The observed SSI rate was 16.2%, consistent across both training and test sets. XGBoost achieved the highest predictive performance (AUROC: 0.934; 95% CI: 0.891–0.967; AUPRC: 0.809), outperforming logistic regression (AUROC: 0.868, p = 0.012) and neural network (AUROC: 0.890, p = 0.038) models. Random Forest also demonstrated competitive accuracy (AUROC: 0.924; AUPRC: 0.787). Robust performance was maintained across critical subgroups, with XGBoost yielding an AUROC of 0.967 among elderly patients and Random Forest achieving an AUROC of 0.979 among diabetic patients. All models systematically overestimated SSI risk (calibration slopes > 2.0), though XGBoost exhibited the best calibration (Brier score: 0.080). Decision curve analysis confirmed clinical utility within probability thresholds of 15–35%. Machine learning models, specifically XGBoost and Random Forest, can accurately predict SSI risk following major gastrointestinal surgery in the Yemeni healthcare context. Despite calibration limitations, these models demonstrate strong discriminative ability and clinical utility, supporting their use for risk stratification in resource-limited settings. The development of a simplified risk score offers a pragmatic alternative for implementation in environments with limited technological infrastructure.

Patient Safety in Surgery
Sana'a University (YE), University of Sharjah (AE), Al-Razi University (YE), Ibb University (YE)
Openalex Percentile: Top 20%
Surgical site infection prevention
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.