Related Experiment Video
Updated: May 14, 2025

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Electrocardiogram Abnormality Detection Using Machine Learning on Summary Data and Biometric Features
Kennette James Basco1,2, Alana Singh2, Daniel Nasef3
1Department of Computer Science, College of Engineering and Computing Sciences, New York Institute of Technology, 1855 Broadway, New York, NY 10023, USA.
Insights
Machine learning models can classify electrocardiogram abnormalities using clinical and biometric data. Extremely randomized trees performed best, though time-series data is needed for improved accuracy.
Area of Science:
- Cardiology
- Biomedical Engineering
- Data Science
Background:
- Electrocardiogram (ECG) data are crucial for diagnosing cardiovascular diseases.
- Manual ECG interpretation is labor-intensive and error-prone.
- Machine learning (ML) offers automated ECG abnormality classification.
Purpose of the Study:
- To evaluate ML models for classifying ECG abnormalities.
- To utilize a dataset combining clinical and ECG biometric data, excluding time-series information.
- To identify key features for ECG abnormality classification.
Main Methods:
- Data preprocessing included handling class imbalance, outliers, feature scaling, and categorical encoding.
- Five ML models (Gaussian Naive Bayes, SVM, Random Forest, Extremely Randomized Trees, Gradient Boosted Trees) and an ensemble were trained.
- Stratified k-fold cross-validation and a reserved testing set were used for model optimization and evaluation.
Main Results:
- Extremely Randomized Trees achieved the highest performance (66.79% accuracy, 66.79% recall, 62.93% F1-score).
- Key predictive features included ventricular rate, QRS duration, and QTC (Bezet).
- Class imbalance and feature overlap presented challenges, particularly for borderline cases.
Conclusions:
- ML models, especially Extremely Randomized Trees, show potential for ECG abnormality classification using non-time-series data.
- The exclusion of time-series ECG signals limits current diagnostic accuracy.
- Future research should integrate time-series data and deep learning for enhanced clinical relevance.
Abstract:
Background/Objectives: Electrocardiogram data are widely used to diagnose cardiovascular diseases, a leading cause of death globally. Traditional interpretation methods are manual, time-consuming, and prone to error. Machine learning offers a promising alternative for automating the classification of electrocardiogram abnormalities. This study explores the use of machine learning models to classify electrocardiogram abnormalities using a dataset that combines clinical features (e.g., age, weight, smoking status) with key electrocardiogram measurements, without relying on time-series data. Methods: The dataset included demographic and electrocardiogram-related biometric data. Preprocessing steps addressed class imbalance, outliers, feature scaling, and the encoding of categorical variables. Five machine learning models-Gaussian Naive Bayes, support vector machines, random forest trees, extremely randomized trees, gradient boosted trees, and an ensemble of top-performing classifiers-were trained and optimized using stratified k-fold cross-validation. Model performance was evaluated on a reserved testing set using metrics such as accuracy, precision, recall, and F1-score. Results: The extremely randomized trees model achieved the best performance, with a testing accuracy of 66.79%, recall of 66.79%, and F1-score of 62.93%. Ventricular rate, QRS duration, and QTC (Bezet) were identified as the most important features. Challenges in classifying borderline cases were noted due to class imbalance and overlapping features. Conclusions: This study demonstrates the potential of machine learning models, particularly extremely randomized trees, in classifying electrocardiogram abnormalities using demographic and biometric data. While promising, the absence of time-series data limits diagnostic accuracy. Future work incorporating time-series signals and advanced deep learning techniques could further improve performance and clinical relevance.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
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...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac...

