Related Experiment Video
Updated: Jun 13, 2026

Quantification of Mouse Heart Left Ventricular Function, Myocardial Strain, and Hemodynamic Forces by Cardiovascular Magnetic Resonance Imaging
Published on: May 24, 2021
LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG
Mohamed Amin Gader1,2,3, Sourour Karmani4,5, Ridha Djemal1,2
1Advanced Technologies for Medicine and Signals Laboratory (ATMS), National School of Engineering, University of Sfax, Sfax 3038, Tunisia.
Insights
Artificial intelligence (AI) accurately classifies heart failure (HF) phenotypes using electrocardiogram (ECG) data. This non-invasive AI tool analyzes ECG features to distinguish between HFpEF, HFmrEF, and HFrEF, aiding early diagnosis.
Area of Science:
- Cardiology
- Biomedical Engineering
- Artificial Intelligence
Background:
- Heart failure (HF) is a significant global health issue requiring accessible diagnostic methods.
- Current classification relies on left ventricular ejection fraction (LVEF) assessed via resource-intensive imaging.
- Electrocardiogram (ECG) offers a low-cost, non-invasive alternative for cardiac assessment.
Purpose of the Study:
- To develop and validate a multi-algorithm AI framework for automated HF phenotype classification using high-resolution ECG signals.
- To assess the efficacy of ECG-derived morpho-energy features in discriminating between HFpEF, HFmrEF, and HFrEF phenotypes.
- To establish AI-driven ECG analysis as a reliable screening tool for HF in resource-limited settings.
Main Methods:
- A hybrid AI approach combined Pan-Tompkins and NeuroKit2 for ECG signal preprocessing and feature extraction.
- Extracted temporal, morphological, and energy-based features from segmented ECG beats.
- Trained and evaluated ensemble machine learning models (LightGBM, XGBoost, etc.) using a 70-15-15 split and 5-fold cross-validation on data from 303 chronic HF patients.
Main Results:
- The LightGBM model demonstrated superior performance, achieving 98.45% test accuracy, 0.9989 AUC, and 0.9804 macro F1-score.
- The AI framework effectively outperformed other ensemble models and a stacking classifier.
- ECG-derived morpho-energy features proved highly effective for HF phenotype discrimination.
Conclusions:
- AI-driven analysis of ECG morpho-energy features provides a reliable, non-invasive method for early HF phenotype discrimination.
- This approach can support clinical decision-making and enhance patient management, particularly in resource-limited environments.
- Automated ECG analysis holds significant potential for improving the accessibility and efficiency of HF diagnosis.
Abstract:
Heart failure (HF) remains a major global health challenge, necessitating accurate yet accessible diagnostic tools. While the left ventricular ejection fraction (LVEF) is the primary metric for classifying HF into preserved (HFpEF), mid-range (HFmrEF), and reduced (HFrEF) phenotypes, conventional imaging modalities such as echocardiography are resource intensive. In contrast, the electrocardiogram (ECG) offers a low-cost, non-invasive alternative for continuous cardiac assessment. This paper proposes a multi-algorithm artificial intelligence (AI) framework for automated HF phenotype classification using high-resolution ECG signals from 303 patients with chronic heart failure from the MUSIC cohort. After preprocessing (normalization, bandpass filtering), we employed a hybrid approach combining the Pan-Tompkins algorithm for robust R-peak detection with the NeuroKit2 toolbox for the precise delineation of P, Q, S, and T waves. ECG recordings were then segmented using an adaptive beat-centric windowing strategy. From the segmented beats, we extracted a comprehensive set of temporal, morphological, and energy-based features, including RR, QRS, and QT intervals, along with P-wave, QRS-complex, and T-wave energies. These features were used to train and evaluate several ensemble machine learning models-Random Forest, XGBoost, CatBoost, LightGBM, and a stacking classifier-using a stratified 70-15-15 train-validation-test split with 5-fold cross-validation. The LightGBM model achieved the highest performance with a test accuracy of 98.45%, an AUC of 0.9989, and a macro F1-score of 0.9804, outperforming other ensembles and the stacking classifier. The results demonstrate that an AI-driven analysis of ECG-derived morpho-energy features can serve as a reliable, non-invasive screening tool for the accurate and early discrimination of HF phenotypes, potentially supporting clinical decision making and improving patient management in resource-limited settings.
Related Concept Videos
Heart Failure IV: Classification and Diagnostic Evaluation
Pathophysiology of Heart Failure
Cardiomyopathy III: Hypertrophic Cardiomyopathy
Cardiomyopathy I: Introduction and Classification