A hybrid machine learning and particle swarm optimization approach for heart disease classification
Shashi Kant Ranjan1 and Mohan Kumar Patel1
Corresponding Author : Shashi Kant Ranjan
Recieved : 24-December-2024; Revised : 10-June-2025; Accepted : 28-June-2025
Abstract
Heart disease remains one of the leading causes of mortality worldwide, highlighting the urgent need for accurate and efficient prediction systems. In this study, a hybrid framework combining machine learning (ML) classifiers with particle swarm optimization (PSO) was proposed for heart disease classification. Two hybrid models, random forest (RF)–PSO and decision tree (DT)–PSO, were developed using the Cleveland heart disease dataset. Data preprocessing included normalization, encoding, and feature selection to enhance model efficiency. PSO was employed to optimize hyperparameters of RF and DT classifiers. The results demonstrated that RF–PSO achieved superior performance, with an accuracy of 94%, compared to DT–PSO, which attained 89% accuracy. The findings suggest that RF–PSO provides a robust and reliable framework for early detection of heart disease, supporting healthcare professionals in timely diagnosis and intervention.
Keywords
Heart disease prediction, Machine learning, Random forest (RF), Decision tree (DT), Particle swarm optimization (PSO), Cleveland heart disease dataset.
Cite this article
Ranjan SK, Patel MK. A hybrid machine learning and particle swarm optimization approach for heart disease classification. International Journal of Advanced Computer Research. 2025;15(72):20-24. DOI : 10.19101/IJACR.2024.1466024
