Deep convolutional neural networks based ECG beats classification to diagnose cardiovascular conditions

Md Rashed-Al-Mahfuz1, Mohammad Ali Moni2,3, Pietro Lio'4

  • 1Department of Computer Science and Engineering, University of Rajshahi, Rajshahi, 6205 Bangladesh.

Insights

This study introduces a novel Convolution Neural Network (CNN) model for accurate electrocardiogram (ECG) beat classification. The model achieves high accuracy, aiding in automated cardiovascular diagnosis and clinical decision-making.

Area of Science:

  • Cardiology
  • Biomedical Engineering
  • Artificial Intelligence

Background:

  • Accurate diagnosis of cardiovascular conditions relies on understanding electrocardiogram (ECG) beat features.
  • Computational methods can enhance the identification of significant frequency components in temporal ECG waveforms.

Purpose of the Study:

  • To propose a novel ECG beat classifier using a customized VGG16 Convolution Neural Network (CNN).
  • To identify interpretable ECG frequency contributions using SHapley Additive exPlanations (SHAP) values.
  • To evaluate the model's performance on benchmark ECG datasets.

Main Methods:

  • Developed a customized VGG16-based CNN model processing time-frequency representations of ECG signals.
  • Employed SHapley Additive exPlanations (SHAP) to interpret the contribution of ECG frequencies.
  • Validated the model on the MIT-BIH arrhythmia dataset, AHA database, and LUDB.

Main Results:

  • Achieved 100% classification accuracy for 2-4 classes and 99.90% for 5 classes on the MIT-BIH dataset.
  • Obtained 99.91% accuracy for 5-class classification using AHA and LUDB datasets.
  • SHAP values enhanced the interpretability of ECG frequency features.

Conclusions:

  • The proposed CNN model demonstrates high accuracy and interpretability for ECG beat classification.
  • This approach shows potential for automating cardiovascular diagnosis systems.
  • The model can serve as a valuable tool for clinicians in diagnosing heart conditions.

Related Concept Videos

Electrocardiogram01:29

Electrocardiogram

An electrocardiogram (ECG or EKG) is a critical diagnostic tool that records the electrical signals produced by the heart during each heartbeat. This recording is achieved through electrodes placed strategically on the arms, legs, and chest. The electrocardiograph amplifies these signals and produces 12 distinct tracings, offering a comprehensive understanding of the heart's electrical activity.
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
4.3K
Correlation between ECG and Cardiac Cycle01:25

Correlation between ECG and Cardiac Cycle

The electrical signals recorded on an electrocardiogram (ECG) occur before the mechanical processes of contraction and relaxation during the 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...
9.9K
Electrocardiogram Fundamentals01:28

Electrocardiogram Fundamentals

Introduction
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...
1.0K
Pulse rhythm01:30

Pulse rhythm

Pulse rhythm refers to the pattern of pulsations within specific intervals, offering valuable insights into the regularity or irregularity of the heart's beats as observed through the pattern of pulsation within specific intervals. A regular pulse exhibits a consistent heart rate with uniform waveforms and pulsation force, variations of which can be classified as normal, weak, or bounding.
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
1.0K
Dysrhythmias V: Evaluating Dysrhythmias01:30

Dysrhythmias V: Evaluating Dysrhythmias

Dysrhythmias, also known as arrhythmias, are disturbances in the heart's rhythm that range from benign to life-threatening. A thorough evaluation is crucial for appropriate management and involves a comprehensive medical history, physical examination, and various diagnostic tests.Medical HistorySymptoms: Collect detailed information on palpitations, dizziness, syncope, chest pain, and fatigue. Note their onset, frequency, and triggers.Previous Cardiac Issues: Document any history of heart...
169
ECG Interpretation of Rhythms01:24

ECG Interpretation of Rhythms

An electrocardiogram (ECG)graphically represents the heart's electrical activity on ECG paper or a monitor.
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage....
7.3K