AUTHOR=Cong Xuhui , Zou Xuli , Zhu Ruilou , Li Yubao , Liu Lu , Zhang Jiaqiang TITLE=Development and validation of a machine learning-based model for perioperative stroke prediction in noncardiac, nonvascular, and nonneurosurgical patients JOURNAL=Frontiers in Physiology VOLUME=Volume 16 - 2025 YEAR=2025 URL=https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2025.1624898 DOI=10.3389/fphys.2025.1624898 ISSN=1664-042X ABSTRACT=IntroductionPerioperative stroke is a rare but severe complication that significantly impacts postoperative recovery and survival. This study aimed to develop a machine learning-based predictive model for perioperative stroke risk in patients undergoing noncardiac, nonvascular, and nonneurosurgical procedures.MethodsThis retrospective cohort study was conducted using electronic medical records from 106,328 patients at Henan Provincial People’s Hospital, with data from 2,986 patients analyzed. Nine machine learning models were developed to predict perioperative stroke risk, incorporating key variables such as age, history of stroke, comorbidities, surgical factors, and intraoperative data. The models’ performance was evaluated using standard metrics, including area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, and F1 score.ResultsAmong the nine models, the gradient boosting machine (GBM) demonstrated the best performance. In the training set, GBM achieved an AUC of 0.966 (95% CI: 0.957–0.975), with accuracy, sensitivity, specificity, and an F1 score of 90.4%, 90.4%, 81.8%, and 79.0%, respectively. In the validation set, the model maintained strong performance, with an AUC of 0.936 (95% CI: 0.917–0.954), accuracy of 82.6%, sensitivity of 88.8%, specificity of 81.0%, and an F1 score of 67.1%. In comparison, other models, such as logistic regression, support vector machine (SVM), and neural networks, exhibited lower AUC and less favorable performance metrics. Overall, GBM outperformed all models, demonstrating the best balance across accuracy, sensitivity, specificity, and F1 score.ConclusionThe GBM model demonstrated strong predictive performance and generalizability for perioperative stroke risk in noncardiac, nonvascular, and nonneurosurgical patients. The integration of this model into a real-time clinical decision support system enhances clinical decision-making by enabling the early identification of high-risk patients and facilitating personalized interventions.