Related Experiment Video
Updated: May 21, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Electrocardiogram analysis for cardiac arrhythmia classification and prediction through self attention based auto
Ameet Shah1, Dhanpratap Singh2, Heba G Mohamed3
1School of Computer Science and Engineering, Lovely Professional University, Grand Trunk Rd, Phagwara, 144411, Punjab, India.
Abstract:
Sudden cardiac arrest among young people is a recent worldwide risk, and it is noticed that people with cardiac arrhythmia are more susceptible to various heart diseases. Manual classification can be error-prone, and certainly, there is a need for automation to classify ECG signals to predict cardiac arrhythmia accurately. The proposed self-attention artificial intelligence auto-encoder algorithm proved an effective cardiac arrhythmia classification strategy with a novel modified Kalman filter pre-processing. We achieved 24.00 SNRimp, 0.055 RMSE, 22.1 PRD% for -5db, 20.4 SNRimp, 0.0245 RMSE, 12 PRD% whereas 14.05 SNRimp, 0.010 RMSE, and 7.25 PRD%, which reduces the ECG signal noise during the pre-processing and improves the visibility of the QRS complex and R-R peaks of ECG waveform. The extracted features were used in network of neurons to execute the classification for MIT-BIH arrhythmia databases using the newly developed self-attention autoencoder (AE) algorithm. The results are compared with existing models, revealing that the proposed system outperforms the classification and prediction of cardiac arrhythmia with a precision of 99.91%, recall of 99.86%, and accuracy of 99.71%. It is confirmed that self-attention-AE training results are promising, and it benefits the diagnosis of ECGs for complex cardiac conditions to solve real-world heart problems.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Mechanism of Cardiac Arrhythmias
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...
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,...
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...

