Related Experiment Video
Updated: May 12, 2025

10:17
Real-Time Cardiac Mapping with a Noninvasive Imageless Electrocardiographic Imaging System
Published on: April 11, 2025
195
Enhancing ECG Classification in Cardiac Diagnostics: A Novel Approach Using Adaptive Focal Cross-Entropy Loss
Summary
A new deep learning algorithm, DRA-ECG, combined with an Adaptive Focal Cross-Entropy loss function, significantly improves electrocardiogram (ECG) analysis for heart disease classification, achieving high accuracy.
Area of Science:
- Biomedical Engineering
- Artificial Intelligence in Healthcare
- Cardiology
Background:
- Heart disease is a leading global cause of mortality.
- Electrocardiograms (ECGs) are crucial for diagnosing heart conditions but traditional analysis faces challenges like time consumption, errors, and class imbalance.
- Existing artificial intelligence (AI) methods for ECG classification have limitations including poor interpretability and high computational costs.
Purpose of the Study:
- To introduce a novel deep learning algorithm, DRA-ECG (Depthwise Separable Residual Attention for ECG analysis).
- To develop a customized Adaptive Focal Cross-Entropy (AFCE) loss function to address class imbalance and enhance model performance.
- To improve the accuracy and reliability of cardiac condition classification using ECG data.
Main Methods:
- Utilized Continuous Wavelet Transform (CWT) to convert 1D ECG signals into 2D scalograms for enhanced feature representation.
- Incorporated edge feature detection as a preprocessing step to denoise and refine features in the 2D scalograms.
- Developed and integrated the DRA-ECG deep learning model with the customized AFCE loss function for classification.
Main Results:
- The proposed DRA-ECG model achieved a high accuracy of 98.17%.
- The model demonstrated strong performance with a recall of 95.78%, F1-score of 95.82%, and precision of 95.89%.
- The combination of CWT, edge detection, DRA-ECG, and AFCE effectively addressed class imbalance and improved feature representation.
Conclusions:
- The novel DRA-ECG algorithm and AFCE loss function offer a significant advancement in automated cardiac condition classification from ECGs.
- This AI-driven approach enhances diagnostic accuracy and efficiency, potentially reducing mortality associated with heart disease.
- The methodology provides a robust solution for handling challenges in ECG analysis, including class imbalance and feature representation.
Related Concept Videos
Electrocardiogram
1.6K
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...
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
1.6K
Instrumentation Amplifier
396
An electrocardiography (ECG) machine is an essential piece of medical equipment used to monitor the electrical activity of the heart. It operates by detecting small electrical changes on the skin that result from the depolarization of the heart muscle during each heartbeat. However, these signals are in the microvolt range and can be easily overwhelmed by noise or interference.
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
To overcome this challenge, an ECG machine utilizes an instrumentation amplifier. This specialized amplifier is...
396
Electrocardiogram Fundamentals
442
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...
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...
442
Pulse rhythm
718
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...
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...
718
ECG Interpretation of Rhythms
282
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....
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....
282
Bode Plots Construction
644
The Bode plot is an essential tool in control system analysis, mapping the frequency response of a system through a magnitude plot and a phase plot, both against a logarithmic frequency axis. To construct a Bode plot, consider the transfer function H(ω):
644

