Related Experiment Video
Updated: Dec 17, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Usefulness of Machine Learning-Based Detection and Classification of Cardiac Arrhythmias With 12-Lead
Kuan-Cheng Chang1, Po-Hsin Hsieh2, Mei-Yao Wu3
1Division of Cardiovascular Medicine, China Medical University Hospital, Taichung, Taiwan; Graduate Institute of Biomedical Sciences, China Medical University, Taichung, Taiwan.
Background:
Deep-learning algorithms to annotate electrocardiograms (ECGs) and classify different types of cardiac arrhythmias with the use of a single-lead ECG input data set have been developed. It remains to be determined whether these algorithms can be generalized to 12-lead ECG-based rhythm classification.
Methods:
We used a long short-term memory (LSTM) model to detect 12 heart rhythm classes with the use of 65,932 digital 12-lead ECG signals from 38,899 patients, using annotations obtained by consensus of 3 board-certified electrophysiologists as the criterion standard.
Results:
The accuracy of the LSTM model for the classification of each of the 12 heart rhythms was ≥ 0.982 (range 0.982-1.0), with an area under the receiver operating characteristic curve of ≥ 0.987 (range 0.987-1.0). The precision and recall ranged from 0.692 to 1 and from 0.625 to 1, respectively, with an F1 score of ≥ 0.777 (range 0.777-1.0). The accuracy of the model (0.90) was superior to the mean accuracies of internists (0.55), emergency physicians (0.73), and cardiologists (0.83).
Conclusions:
We demonstrated the feasibility and effectiveness of the deep-learning LSTM model for interpreting 12 common heart rhythms according to 12-lead ECG signals. The findings may have clinical relevance for the early diagnosis of cardiac rhythm disorders.
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
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...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Mechanism of Cardiac Arrhythmias
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
ECG Interpretation of Arrhythmias I: Sinus Arrhythmias
Types of Arrhythmias
Sinus Node Arrhythmias
Sinus Bradycardia: Originating from the sinoatrial (SA) node, sinus bradycardia involves slower impulses, resulting in a heart rate of less than 60 beats per minute (bpm). Causes include sleep, vagal stimulation, beta-blockers, hypothyroidism,...

