Related Experiment Video
Updated: Jul 15, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Arrhythmia classification detection based on multiple electrocardiograms databases
Meng Qi1,2, Hongxiang Shao1,2, Nianfeng Shi1,2
1Computer and Information Engineering Department, Luoyang Institute of Science and Technology, Luoyang, China.
Insights
This study introduces Hercules-3, a unified electrocardiogram (ECG) arrhythmia database, addressing data limitations for training neural networks. The new database significantly improves arrhythmia classification performance.
Area of Science:
- Cardiology
- Biomedical Engineering
- Machine Learning
Background:
- Cardiovascular diseases represent a leading global cause of mortality.
- Electrocardiogram (ECG) is crucial for non-invasive heart disease detection.
- Existing ECG databases suffer from limited sample sizes and imbalanced distributions, hindering effective neural network training.
Purpose of the Study:
- To address the scarcity and imbalance of ECG data for machine learning.
- To develop a unified and comprehensive ECG arrhythmia classification database.
- To evaluate the performance of neural networks trained on the proposed database.
Main Methods:
- In-depth analysis of three fine-labeled ECG databases.
- Extraction and unification of heartbeats with consistent sampling frequency.
- Development of a self-processing method for heartbeats.
- Formation of the Hercules-3 unified ECG arrhythmia classification database (80% training, 20% testing).
Main Results:
- A fully connected neural network trained on Hercules-3 achieved 98.67% accuracy for 16-class arrhythmia classification.
- The proposed data processing method enhanced classification recall by at least 6%.
- Significant improvements were observed in classification accuracy (≥4%) and F1-score (≥7%) compared to other methods.
Conclusions:
- The Hercules-3 database provides a robust solution for ECG arrhythmia classification challenges.
- The self-processing method for heartbeats is effective in improving classification metrics.
- This work facilitates the development of more practical and efficient neural network models for cardiac diagnostics.
Abstract:
According to the World Health Organization, cardiovascular diseases are the leading cause of deaths globally. Electrocardiogram (ECG) is a non-invasive approach for detecting heart diseases and reducing the risk of heart disease-related death. However, there are limited numbers of ECG samples and imbalance distribution for existing ECG databases. It is difficult to train practical and efficient neural networks. Based on the analysis and research of many existing ECG databases, this paper conduct an in-depth study on three fine-labeled ECG databases, to extract heartbeats, unify the sampling frequency, and propose a self-processing method of heartbeats, and finally form a unified ECG arrhythmia classification database, noted as Hercules-3. It is separated into training sets (80%) and testing sets (the remaining 20%). In order to verify its capabilities, we have trained a 16-classification fully connected neural network based on Hercules-3 and it achieves an accuracy rate of up to 98.67%. Compared with other data processing, our proposed method improves classification recall by at least 6%, classification accuracy by at least 4%, and F1-score by at least 7%.
Related Concept Videos
Dysrhythmias V: Evaluating Dysrhythmias
Disturbances in Heart Rhythm
Arrhythmias are categorized by their speed, rhythm, and origin. A slow...
Dysrhythmias II: Classification of Tachyarrhythmias
Mechanism of Cardiac Arrhythmias
ECG Interpretation of Arrhythmias II: Atrial, Junctional and Ventricular Arrhythmias
Dysrhythmias I: Introduction

