DiabCompSepsAI: Integrated AI Model for Early Detection and Prediction of Postoperative Complications in Diabetic Patients—Using a Random Forest Classifier

<b>Background/Objectives:</b> Postoperative complications such as wound infections and sepsis are common in diabetic patients, often resulting in longer hospital stays and higher morbidity. This study hypothesizes that a Random Forest Classifier can accurately predict these complications, enabling early clinical interventions. The model utilizes ensemble learning to integrate diverse patient data and improve predictive accuracy beyond traditional risk assessments. <b>Methods:</b> A comprehensive retrospective analysis was performed using data extracted from the National Surgical Quality Improvement Program (NSQIP) database. The dataset encompassed a wide array of variables, including demographic factors, clinical markers, and detailed surgical data (specialty, type of anesthesia, duration of surgery). Each variable was meticulously encoded into numerical formats, with categorical variables transformed through one-hot encoding, and continuous variables were normalized. The dataset was partitioned into training (80%) and testing (20%) subsets, ensuring a balanced representation of the target outcomes. The Random Forest Classifier was selected due to its robustness in handling high-dimensional data and its ability to model complex interactions between variables. <b>Results:</b> The Random Forest model showed accuracy rates of 94.38% for wound infection and 94.94% for sepsis. Precision and recall metrics also exceeded 94%, highlighting the model's accuracy in identifying true positives and reducing false positives. ROC curve analysis yielded AUC values of 0.92 for wound infection and 0.95 for sepsis, indicating strong discriminative capability. Feature importance analysis further identified key predictors, including surgical duration, specific laboratory markers, and patient comorbidities. <b>Conclusions:</b> This study demonstrates the Random Forest Classifier's strong predictive ability for postoperative wound infections and sepsis in diabetic patients. The model's high-performance metrics indicate its potential for real-time risk stratification in clinical workflows. Future research should validate these findings in diverse populations and surgical settings. Incorporating this predictive model into clinical practice has the potential to significantly improve patient outcomes and reduce healthcare costs.

Authors

Institutions

Publication Details

Journal
Journal of Clinical Medicine
Published
2025-10-11
DOI
https://doi.org/10.3390/jcm14207173
Citations
2
Primary Topic
Cardiac, Anesthesia and Surgical Outcomes
Type
article
Field-Weighted Citation Impact
2.78
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DiabCompSepsAI: Integrated AI Model for Early Detection and Prediction of Postoperative Complications in Diabetic Patients—Using a Random Forest Classifier

Sri Harsha Boppana, Ritwik Raj, C. David Mintz, Sachin Sravan Kumar Komati et al.
2 citations
Journal of Clinical Medicine
Cardiac, Anesthesia and Surgical Outcomes
2.78
article

DiabCompSepsAI: Integrated AI Model for Early Detection and Prediction of Postoperative Complications in Diabetic Patients—Using a Random Forest Classifier

Sri Harsha Boppana, Ritwik Raj, C. David Mintz, Sachin Sravan Kumar Komati, Raja Hamsa Chitturi
article en
2 citations

Abstract

<b>Background/Objectives:</b> Postoperative complications such as wound infections and sepsis are common in diabetic patients, often resulting in longer hospital stays and higher morbidity. This study hypothesizes that a Random Forest Classifier can accurately predict these complications, enabling early clinical interventions. The model utilizes ensemble learning to integrate diverse patient data and improve predictive accuracy beyond traditional risk assessments. <b>Methods:</b> A comprehensive retrospective analysis was performed using data extracted from the National Surgical Quality Improvement Program (NSQIP) database. The dataset encompassed a wide array of variables, including demographic factors, clinical markers, and detailed surgical data (specialty, type of anesthesia, duration of surgery). Each variable was meticulously encoded into numerical formats, with categorical variables transformed through one-hot encoding, and continuous variables were normalized. The dataset was partitioned into training (80%) and testing (20%) subsets, ensuring a balanced representation of the target outcomes. The Random Forest Classifier was selected due to its robustness in handling high-dimensional data and its ability to model complex interactions between variables. <b>Results:</b> The Random Forest model showed accuracy rates of 94.38% for wound infection and 94.94% for sepsis. Precision and recall metrics also exceeded 94%, highlighting the model's accuracy in identifying true positives and reducing false positives. ROC curve analysis yielded AUC values of 0.92 for wound infection and 0.95 for sepsis, indicating strong discriminative capability. Feature importance analysis further identified key predictors, including surgical duration, specific laboratory markers, and patient comorbidities. <b>Conclusions:</b> This study demonstrates the Random Forest Classifier's strong predictive ability for postoperative wound infections and sepsis in diabetic patients. The model's high-performance metrics indicate its potential for real-time risk stratification in clinical workflows. Future research should validate these findings in diverse populations and surgical settings. Incorporating this predictive model into clinical practice has the potential to significantly improve patient outcomes and reduce healthcare costs.

Journal of Clinical MedicineVol. 14(20)
Johns Hopkins University (US), Florida International University (US), Johns Hopkins Medicine (US), College of Central Florida (US), Nassau University Medical Center (US)
Openalex Percentile: Top 8%
Cardiac, Anesthesia and Surgical Outcomes
2.78
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.