Interpretable machine learning models for stroke risk prediction in patients with newly diagnosed atrial fibrillation
Atrial fibrillation (AF) is the most common sustained arrhythmia and a leading cause of ischemic stroke. Existing risk scores, such as CHA₂DS₂-VASc, offer limited predictive accuracy and fail to capture complex clinical patterns. To improve generalizability and clinical utility, we developed and externally validated clinically interpretable machine learning models using only age, comorbidities, and medication use to predict 1-year stroke risk in patients with newly diagnosed AF. Both logistic regression (LR) and Platt-calibrated extreme gradient boosting (XGB) models achieved high discrimination in internal (AUCs = 0.915 and 0.914) and external validation cohorts (AUCs = 0.877-0.886), significantly outperforming CHA₂DS₂-VASc (AUCs = 0.614-0.621; p < 0.001). Calibration curves and decision curve analysis confirmed strong clinical utility. Long-term follow-up demonstrated superior risk stratification and treatment responsiveness in LR-defined high-risk groups. These models provide accurate, individualized stroke risk estimates to guide direct oral anticoagulant (DOAC) initiation in real-world hospital settings.
Authors
- Yu‐Kang Tu (ORCID: https://orcid.org/0000-0002-2461-474X)
- Chao‐Lun Lai (ORCID: https://orcid.org/0000-0002-0362-245X)
- Jesse Chih-Wei Lin (ORCID: https://orcid.org/0009-0008-1163-7433)
- Yi-Lun Ho
- Heng-Yu Pan
- Chen-Min Chang
Institutions
- National Taiwan University (TW)
- National Taipei University of Nursing and Health Science (TW)
- National Taiwan University Hospital (TW)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-04-07
- DOI
- https://doi.org/10.1038/s41746-026-02470-3
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Taiwan University Hospital
- National Taiwan University Hospital Hsin-Chu Branch