Classification of Heart Failure Using Machine Learning: A Comparative Study

Several machine learning classification algorithms were evaluated using a dataset focused on heart failure. Results obtained from logistic regression, random forest, decision tree, K-nearest neighbors, and multilayer perceptron (MLP) were compared to obtain the best model. The random forest method o...

Full description

Saved in:
Bibliographic Details
Main Authors: Bryan Chulde-Fernández, Denisse Enríquez-Ortega, Cesar Guevara, Paulo Navas, Andrés Tirado-Espín, Paulina Vizcaíno-Imacaña, Fernando Villalba-Meneses, Carolina Cadena-Morejon, Diego Almeida-Galarraga, Patricia Acosta-Vargas
Format: Article
Language:English
Published: MDPI AG 2025-03-01
Series:Life
Subjects:
Online Access:https://www.mdpi.com/2075-1729/15/3/496
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Several machine learning classification algorithms were evaluated using a dataset focused on heart failure. Results obtained from logistic regression, random forest, decision tree, K-nearest neighbors, and multilayer perceptron (MLP) were compared to obtain the best model. The random forest method obtained specificity = 0.93, AUC = 0.97, and Matthews correlation coefficient (MCC) = 0.83. The accuracy was high; therefore, it was considered the best model. On the other hand, K-nearest neighbors and MLP (multi-layer perceptron) showed lower accuracy rates. These results confirm the effectiveness of the random forest method in identifying heart failure cases. This study underlines that the number of features, feature selection and quality, model type, and hyperparameter fit are also critical in these studies, as well as the importance of using machine learning techniques.
ISSN:2075-1729