Related Experiment Video
Updated: Jun 26, 2025

Lumped-Parameter and Finite Element Modeling of Heart Failure with Preserved Ejection Fraction
Published on: February 13, 2021
Prediction of heart failure patients with distinct left ventricular ejection fraction levels using circadian ECG
Sona M Al Younis1, Leontios J Hadjileontiadis1,2, Ahsan H Khandoker1
1Department of Biomedical Engineering, Healthcare Engineering Innovation Centre (HEIC), Khalifa University, Abu Dhabi, United Arab Emirates.
Insights
Machine learning models accurately classify heart failure (HF) patients using electrocardiograms (ECG). Decision Tree and KNN models achieved over 90% accuracy, identifying optimal times for screening coronary artery disease (CAD) patients.
Area of Science:
- Cardiology
- Biomedical Engineering
- Artificial Intelligence in Medicine
Background:
- Heart failure (HF) is a growing global health concern with increasing prevalence and healthcare costs.
- Accurate classification of HF patients into reduced (HFrEF), mid-range (HFmEF), and preserved (HFpEF) ejection fraction categories is crucial for management.
- Echocardiography is standard for ejection fraction assessment, but electrocardiograms (ECG) offer a cost-effective, continuous alternative.
Purpose of the Study:
- To evaluate machine learning (ML) models for classifying left ventricular ejection fraction (LVEF) in HF patients using 24-hour ECG recordings.
- To compare the performance of K-nearest neighbors (KNN), neural networks (NN), support vector machines (SVM), and decision trees (TREE) for HF classification.
- To identify optimal time intervals for ECG-based HF classification, potentially aiding in automated screening for coronary artery disease (CAD) patients.
Main Methods:
- Utilized a multicenter dataset of 303 HF patients (HFpEF, HFmEF, HFrEF) from American and Greek populations.
- Extracted features from 24-hour ECG recordings and trained ML models (KNN, NN, SVM, TREE) at hourly intervals.
- Employed nested cross-validation for hyperparameter tuning to optimize LVEF classification accuracy in CAD patients.
Main Results:
- Decision Tree (TREE) and KNN models demonstrated superior performance, achieving 91.2% and 90.9% accuracy, respectively.
- Both TREE and KNN models attained high average area under the receiver operating characteristics curve (AUROC) of 0.98 and 0.99.
- Peak classification accuracy was observed during specific time windows: midnight-1 am, 8-9 am, and 10-11 pm, suggesting circadian influences.
Conclusions:
- ML models, particularly TREE and KNN, can effectively classify LVEF in HF patients using ECG data.
- ECG-based ML classification offers a promising, non-invasive, and cost-effective approach for HF patient stratification.
- The findings support the development of an automated screening system for CAD patients, leveraging optimized ECG measurement timings aligned with circadian rhythms.
Abstract:
Heart failure (HF) encompasses a diverse clinical spectrum, including instances of transient HF or HF with recovered ejection fraction, alongside persistent cases. This dynamic condition exhibits a growing prevalence and entails substantial healthcare expenditures, with anticipated escalation in the future. It is essential to classify HF patients into three groups based on their ejection fraction: reduced (HFrEF), mid-range (HFmEF), and preserved (HFpEF), such as for diagnosis, risk assessment, treatment choice, and the ongoing monitoring of heart failure. Nevertheless, obtaining a definitive prediction poses challenges, requiring the reliance on echocardiography. On the contrary, an electrocardiogram (ECG) provides a straightforward, quick, continuous assessment of the patient's cardiac rhythm, serving as a cost-effective adjunct to echocardiography. In this research, we evaluate several machine learning (ML)-based classification models, such as K-nearest neighbors (KNN), neural networks (NN), support vector machines (SVM), and decision trees (TREE), to classify left ventricular ejection fraction (LVEF) for three categories of HF patients at hourly intervals, using 24-hour ECG recordings. Information from heterogeneous group of 303 heart failure patients, encompassing HFpEF, HFmEF, or HFrEF classes, was acquired from a multicenter dataset involving both American and Greek populations. Features extracted from ECG data were employed to train the aforementioned ML classification models, with the training occurring in one-hour intervals. To optimize the classification of LVEF levels in coronary artery disease (CAD) patients, a nested cross-validation approach was employed for hyperparameter tuning. HF patients were best classified using TREE and KNN models, with an overall accuracy of 91.2% and 90.9%, and average area under the curve of the receiver operating characteristics (AUROC) of 0.98, and 0.99, respectively. Furthermore, according to the experimental findings, the time periods of midnight-1 am, 8-9 am, and 10-11 pm were the ones that contributed to the highest classification accuracy. The results pave the way for creating an automated screening system tailored for patients with CAD, utilizing optimal measurement timings aligned with their circadian cycles.
More Related Videos
05:03Patient Directed Recording of a Bipolar Three-Lead Electrocardiogram using a Smartwatch with ECG Function
Published on: December 11, 2019
04:05Author Spotlight: Unveiling Prognostic Indicators in Heart Failure - The Role of Phase Angle and Bioelectrical Impedance Analysis
Published on: June 30, 2023
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and...
Pathophysiology of Heart Failure