Related Experiment Video
Updated: Apr 14, 2026

Analyzing Long-Term Electrocardiography Recordings to Detect Arrhythmias in Mice
Published on: May 23, 2021
Utilizing ECG-Based Heartbeat Classification for Hypertrophic Cardiomyopathy Identification
Insights
This study developed a classifier to detect hypertrophic cardiomyopathy (HCM) using electrocardiograms (ECG). The classifier accurately identifies HCM patients from ECG signals, aiding early diagnosis.
Area of Science:
- Cardiology
- Biomedical Signal Processing
- Machine Learning
Background:
- Hypertrophic cardiomyopathy (HCM) is a serious heart condition characterized by thickened heart muscle and potential blood flow obstruction.
- Electrocardiograms (ECG) offer a non-invasive method for assessing heart electrical activity and can aid in HCM detection.
Purpose of the Study:
- To develop and evaluate a cardiovascular-patient classifier for identifying hypertrophic cardiomyopathy (HCM) using 12-lead ECG signals.
- To assess the efficacy of machine learning classifiers in distinguishing HCM patients based on ECG-derived heartbeat characteristics.
Main Methods:
- Extracted 504 morphological and temporal features from 10-second, 12-lead ECG signals for heartbeat classification.
- Trained and evaluated random forest (RF) and support vector machine (SVM) classifiers using 5-fold cross-validation.
- Compared RF and SVM performance against a logistic regression baseline.
Main Results:
- Both RF and SVM classifiers demonstrated high performance, with precision near 0.85 and recall/specificity around 0.90.
- Feature selection experiments revealed that a reduced set of 264 features achieved comparable performance to the full feature set.
- RF and SVM outperformed logistic regression in classifying HCM patients.
Conclusions:
- Machine learning classifiers, particularly RF and SVM, are effective tools for detecting hypertrophic cardiomyopathy using ECG data.
- A subset of highly informative features can maintain high classification accuracy, suggesting potential for streamlined diagnostic tools.
- This ECG-based approach shows promise for the early and accurate identification of HCM patients.
Abstract:
Hypertrophic cardiomyopathy (HCM) is a cardiovascular disease where the heart muscle is partially thickened and blood flow is (potentially fatally) obstructed. A test based on electrocardiograms (ECG) that record the heart electrical activity can help in early detection of HCM patients. This paper presents a cardiovascular-patient classifier we developed to identify HCM patients using standard 10-second, 12-lead ECG signals. Patients are classified as having HCM if the majority of their recorded heartbeats are recognized as characteristic of HCM. Thus, the classifier's underlying task is to recognize individual heartbeats segmented from 12-lead ECG signals as HCM beats, where heartbeats from non-HCM cardiovascular patients are used as controls. We extracted 504 morphological and temporal features—both commonly used and newly-developed ones—from ECG signals for heartbeat classification. To assess classification performance, we trained and tested a random forest classifier and a support vector machine classifier using 5-fold cross validation. We also compared the performance of these two classifiers to that obtained by a logistic regression classifier, and the first two methods performed better than logistic regression. The patient-classification precision of random forests and of support vector machine classifiers is close to 0.85. Recall (sensitivity) and specificity are approximately 0.90. We also conducted feature selection experiments by gradually removing the least informative features; the results show that a relatively small subset of 264 highly informative features can achieve performance measures comparable to those achieved by using the complete set of features.
Related Concept Videos
Cardiomyopathy III: Hypertrophic Cardiomyopathy
Cardiomyopathy I: Introduction and Classification
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Heart Failure IV: Classification and Diagnostic Evaluation
Dysrhythmias II: Classification of Tachyarrhythmias
Dysrhythmias V: Evaluating Dysrhythmias

