Related Experiment Video
Updated: Sep 23, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Short-term atrial fibrillation detection using electrocardiograms: A comparison of machine learning approaches
Masud Shah Jahan1, Marjan Mansourvar2, Sadasivan Puthusserypady3
1Centre of Health Informatics and Technology, The Mærsk Mc-Kinney Møller Institute, University of Southern Denmark, 5230 Odense, Denmark.
Background:
Atrial fibrillation (AF) is one of the most prevalent cardiac arrhythmias, which challenges the healthcare systems globally.Timely detection of AF can potentially reduce the mortality and morbidity rates as well as alleviate the economic burden caused by this.Digital solutions are shown to enhance the diagnosis of cardiac abnormalities.
Objectives:
By the latest advancements in the field of medical informatics and tele-health monitoring, huge amount of electro-physiological signals, such as electrocardiograms (ECG), can be easily collected.One of the most common ways for physicians/cardiologists to analyse these signals is through visual inspection.However, it is not always easy and in most cases cumbersome to analyse these big amounts of ECG data.Therefore, it is of great interest to develop models that are capable of analyzing these data and help physicians making better decisions.This paper proposes and compares well-known machine learning (ML) algorithms to diagnose short episodes of AF. This also paves the way for real-time detection of AF in clinical settings.
Methods:
Different ML algorithms such as Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), Stacking Classifier (SC), Extreme Gradient Boosting (XGBoost), and Adaptive Boosting (AdaBoost) were applied to detect AF. These models were trained using extracted statistical features from ECG signals.
Results:
The proposed ML models were trained on a dataset with 23 ECG records of length approximately 10 h each using leave one group out cross validation (LOGO-CV) technique and achieved the best sensitivity (Se), specificity (Sp), positive predictive value (PPV), false positive rate (FPR), and F1-score of 85.67%, 81.25%, 90.85%, 18.75% and 88.18%, respectively, to classify AF from normal sinus rhythms (NSR) in short ECG segments of 20 heartbeats.Additionally, the models were examined on three unseen datasets, namely the Long Term AF dataset, MIT-BIH Arrhythmia dataset, and MIT-BIH Normal Sinus Rhythm dataset, to assess their robustness and generalization.
Conclusion:
The obtained results show high performance and flexibility of some of the applied ML models compared to other well-known algorithms. In general, the empirical results confirm that ensemble methods, such as AdaBoost, generalized well and perform better than other approaches.
More Related Videos
08:10Estimating Bilateral Atrial Function by Cardiovascular Magnetic Resonance Feature Tracking in Patients with Paroxysmal Atrial Fibrillation
Published on: July 20, 2022
10:17Real-Time Cardiac Mapping with a Noninvasive Imageless Electrocardiographic Imaging System
Published on: April 11, 2025
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin...
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...