LightGBM-Based Classification of Heart Failure Phenotypes Using Morpho-Energy Features from High-Resolution ECG
Open Access
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
Funding Information
- Department of Microelectronics & Electronics, University of Mons, Belgium
This publication has 35 references indexed in Scilit:
- Artificial EEG signal generated by a network of neurons with one and two dendritesResults in Physics, 2021
- Opportunities and challenges of deep learning methods for electrocardiogram data: A systematic reviewComputers in Biology and Medicine, 2020
- Identifying the most important ECG predictors of reduced ejection fraction in patients with suspected acute coronary syndromeJournal of Electrocardiology, 2020
- Epidemiology of heart failure with preserved ejection fractionNature Reviews Cardiology, 2017
- QRS duration and left ventricular ejection fraction (LVEF) in non-ST segment elevation myocardial infarction (NSTEMI)International Journal of Cardiology, 2016
- Epidemiology and aetiology of heart failureNature Reviews Cardiology, 2016
- Electrocardiographic Markers and Left Ventricular Ejection Fraction Have Cumulative Effects on Risk of Sudden Cardiac DeathJACC: Clinical Electrophysiology, 2015
- 2013 ACCF/AHA Guideline for the Management of Heart FailureJACC, 2013
- Prolonged Electrocardiogram QRS Duration Independently Predicts Long-Term Mortality in Patients Hospitalized for Heart Failure With Preserved Systolic FunctionJournal of Cardiac Failure, 2009
- Efficient hardware architecture of 2D-scan-based wavelet watermarking for image and videoComputer Standards & Interfaces, 2009