Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Med.

Sec. Precision Medicine

Volume 12 - 2025 | doi: 10.3389/fmed.2025.1650700

Machine Learning Prediction of Post-CABG Atrial Fibrillation Using Clinical and Pharmacogenomic Biomarkers

Provisionally accepted
Lei  HuaLei HuaJingxian  HanJingxian HanSiqi  ZhangSiqi ZhangZhiying  LiZhiying LiHui  QiaoHui QiaoBin  YangBin YangXiangguang  MengXiangguang Meng*
  • The 7th People's Hospital of Zhengzhou, Zhengzhou, China

The final, formatted version of the article will be published soon.

Background: Postoperative atrial fibrillation (POAF) is a frequent complication following coronary artery bypass grafting (CABG), significantly impacting patient prognosis and healthcare costs. This study aimed to develop an integrated predictive model for POAF risk stratification to optimize clinical management. Methods: We retrospectively analyzed 2,528 patients undergoing 21-gene pharmacogenetic testing for cardiovascular therapy. After stringent data curation, 576 CABG patients were enrolled and randomly allocated into training and test sets. Eight machine learning algorithms were trained using clinical variables and genetic variants. An independent validation set was performed on 61 patients from a subsequent 1,075-patient cohort of 21-gene pharmacogenetic testing. Results: Eight machine learning algorithms were trained, tested, and validated, with the Gaussian Naive Bayes (GNB) model demonstrating robust performance (Accuracy: 0.81 in test set and 0.79 in independent validation set). SHapley Additive exPlanations analysis identified four key predictors: multivessel CABG (CABGVx ≥ 3), history of heart failure (HFHx), rs5219 (KCNJ11), and prolonged bypass duration (CABGTime). To facilitate clinical translation, we developed an accessible web-based tool (https://www.xingyeyard.site/cabg/) for real-time POAF risk stratification. Conclusions: This GNB-based classifier synergistically integrates Pharmacogenomic and clinical predictors to predict POAF risk following CABG. The combination of rigorous validation and user-centered design positions this model as a valuable clinical decision-support tool for optimizing personalized perioperative care.

Keywords: coronary artery bypass grafting, postoperative atrial fibrillation, machine learning, Prediction model, Gaussian Naive Bayes

Received: 25 Jun 2025; Accepted: 29 Aug 2025.

Copyright: © 2025 Hua, Han, Zhang, Li, Qiao, Yang and Meng. 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: Xiangguang Meng, The 7th People's Hospital of Zhengzhou, Zhengzhou, 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.