Next Article in Journal
Self-Organizing Neural Grove for Malware Detection in IoT Edge Devices
Previous Article in Journal
Close-Range 3D Hyperspectral Measurement System with a Physics-Guided Spectral Correction Model
Previous Article in Special Issue
The Application of an Ultra-Thin, High-Density μECoG Array in Dissecting Caffeine-Induced Cortical Dynamics in Mice
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG

by
Mohamed Amin Gader
1,2,3,*,
Sourour Karmani
4,5,
Ridha Djemal
1,2 and
Carlos Valderrama Sakuyama
3
1
Advanced Technologies for Medicine and Signals Laboratory (ATMS), National School of Engineering, University of Sfax, Sfax 3038, Tunisia
2
Electrical Engineering Department, National School of Engineering, University of Sfax, Sfax 3038, Tunisia
3
Department of Microelectronics & Electronics, Faculty of Polytechnic, University of Mons, 7000 Mons, Belgium
4
Laboratory of Electronics and Microelectronics (FSM), University of Monastir, Monastir 5000, Tunisia
5
Higher Institute of Applied Sciences and Technology of Sousse, University of Sousse, Sousse 4000, Tunisia
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(11), 3397; https://doi.org/10.3390/s26113397
Submission received: 11 March 2026 / Revised: 24 April 2026 / Accepted: 1 May 2026 / Published: 27 May 2026

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.
Keywords: heart failure; HFpEF; HFmrEF; HFrEF; electrocardiogram (ECG); ECG signal processing; feature extraction; machine learning; LightGBM; cardiovascular diagnostics heart failure; HFpEF; HFmrEF; HFrEF; electrocardiogram (ECG); ECG signal processing; feature extraction; machine learning; LightGBM; cardiovascular diagnostics

Share and Cite

MDPI and ACS Style

Gader, M.A.; Karmani, S.; Djemal, R.; Valderrama Sakuyama, C. LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG. Sensors 2026, 26, 3397. https://doi.org/10.3390/s26113397

AMA Style

Gader MA, Karmani S, Djemal R, Valderrama Sakuyama C. LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG. Sensors. 2026; 26(11):3397. https://doi.org/10.3390/s26113397

Chicago/Turabian Style

Gader, Mohamed Amin, Sourour Karmani, Ridha Djemal, and Carlos Valderrama Sakuyama. 2026. "LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG" Sensors 26, no. 11: 3397. https://doi.org/10.3390/s26113397

APA Style

Gader, M. A., Karmani, S., Djemal, R., & Valderrama Sakuyama, C. (2026). LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG. Sensors, 26(11), 3397. https://doi.org/10.3390/s26113397

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop