Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Oct;13(19):e034154.
doi: 10.1161/JAHA.123.034154. Epub 2024 Sep 30.

Machine Learning Algorithm to Predict Atrial Fibrillation Using Serial 12-Lead ECGs Based on Left Atrial Remodeling

Affiliations

Machine Learning Algorithm to Predict Atrial Fibrillation Using Serial 12-Lead ECGs Based on Left Atrial Remodeling

Ji-Hoon Choi et al. J Am Heart Assoc. 2024 Oct.

Abstract

Background: We hypothesized that analysis of serial ECGs could predict new-onset atrial fibrillation (AF) more accurately than analysis of a single ECG by detecting the subtle cardiac remodeling that occurs immediately before AF occurrence. Our aim in this study was to compare the performance of 2 types of machine learning (ML) algorithms.

Methods and results: Standard 12-lead ECGs of patients selected by cardiologists between January 2010 and May 2021 were used for ML model development. Two ML models (single ECG and serial ECG) were developed using a light gradient boosting machine-learning algorithm. Model performance was evaluated based on the area under the receiver operating characteristic curve, sensitivity, specificity, accuracy, and F1 score. We trained the ML models on 415 964 ECGs from 176 090 patients. When testing the 2 ML models using external validation data sets, the performance of the serial-ML model was significantly better than that of the single-ML model for predicting new-onset AF (single- versus serial-ML model: sensitivity 0.744 versus 0.810; specificity 0.742 versus 0.822; accuracy 0.743 versus 0.816; F1 score 0.743 versus 0.815; area under the receiver operating characteristic curve 0.812 versus 0.880; P<0.001). The Shapley Additive Explanations analysis ranked P-wave duration and amplitude among the top 10 ECG parameters.

Conclusions: An ML model based on serial ECGs from an individual had greater ability to predict new-onset AF than the ML model based on a single ECG. P-wave morphologies were associated with future AF prediction.

Keywords: ECG; artificial intelligence; atrial fibrillation; machine learning; prediction; remodeling.

PubMed Disclaimer

Figures

Figure 1
Figure 1. Schematic representation of ECG selection for developing ML models.
A, Single‐ML model. B, Serial‐ML model. AF indicates atrial fibrillation; ML, machine learning; and NSR, normal sinus rhythm.
Figure 2
Figure 2. Flow diagram of patient selection.
AF indicates atrial fibrillation.
Figure 3
Figure 3. Performance comparison of single‐ and serial‐ECG models by ROC.
A, Internal validation. B, External validation. AUC indicates area under the curve; and ROC, receiver operating characteristic.
Figure 4
Figure 4. ROC curves by blanking period (A) and interval of 2 paired ECGs (B).
AUC indicates area under the curve; NSR, normal sinus rhythm; and ROC, receiver operating characteristic.
Figure 5
Figure 5. Kaplan‐Meier survival curves of single‐ (A) and serial‐ (B) ECG models.
AF indicates atrial fibrillation; and HR, hazard ratio.
Figure 6
Figure 6. SHAP summary plot of feature importance for single‐ (A) and serial‐ (B) ECG models.
Positive SHAP values indicate a higher positive influence on predicting atrial fibrillation. SHAP indicates Shapley Additive Explanations.
Figure 7
Figure 7. Mean AF status across age and sex: smoothed trends.
AF indicates atrial fibrillation.

Similar articles

References

    1. Chugh SS, Havmoeller R, Narayanan K, Singh D, Rienstra M, Benjamin EJ, Gillum RF, Kim Y‐H, Mcanulty JH, Zheng Z‐J, et al. Worldwide epidemiology of atrial fibrillation. Circulation. 2014;129:837–847. doi: 10.1161/CIRCULATIONAHA.113.005119 - DOI - PMC - PubMed
    1. Colilla S, Crow A, Petkun W, Singer DE, Simon T, Liu X. Estimates of current and future incidence and prevalence of atrial fibrillation in the U.S. adult population. Am J Cardiol. 2013;112:1142–1147. doi: 10.1016/j.amjcard.2013.05.063 - DOI - PubMed
    1. Kim MH, Johnston SS, Chu B‐C, Dalal MR, Schulman KL. Estimation of total incremental health care costs in patients with atrial fibrillation in the United States. Circ Cardiovasc Qual Outcomes. 2011;4:313–320. doi: 10.1161/CIRCOUTCOMES.110.958165 - DOI - PubMed
    1. Page RL, Wilkinson WE, Clair WK, Mccarthy EA, Pritchett EL. Asymptomatic arrhythmias in patients with symptomatic paroxysmal atrial fibrillation and paroxysmal supraventricular tachycardia. Circulation. 1994;89:224–227. doi: 10.1161/01.CIR.89.1.224 - DOI - PubMed
    1. Savelieva I, Camm AJ. Clinical relevance of silent atrial fibrillation: prevalence, prognosis, quality of life, and management. J Interv Card Electrophysiol. 2000;4:369–382. doi: 10.1023/A:1009823001707 - DOI - PubMed

LinkOut - more resources