Project Abstract
Heart disease remains one of the leading causes of death globally, presenting a critical challenge to healthcare professionals. Despite advances in traditional diagnostic methods, the need for a more accurate and timely detection system is paramount. This work employed five machine learning algorithms namely Logistic Regression, K-Nearest Neighbors (KNN), Support Vector Machines (SVM), Random Forest, and Decision Trees to predict the presence of heart disease, using a range of parameters (Accuracy, Precision, Recall, F1-Score). The dataset, sourced from Kaggle, underwent comprehensive pre-processing, which included data cleaning, handling missing values, and normalizing continuous variables to ensure model accuracy. The dataset was split into 80% training and 20% testing. The results showed that the SVM model outperformed other algorithms, by achieving an accuracy of 95%, followed by KNN at 92%, Logistic Regression at 88%, Decision Trees at 85%, and Random Forest at 78%. By fine-tuning the hyperparameters of these models, we ensured optimal performance, making the SVM the most suitable for deployment in clinical settings. This project’s predictive model could enhance early detection, streamline diagnosis, and ultimately contribute to improved patient outcomes.
Main Objective
The main objective of this work is to use Machine Learning algorithms; Logistic Regression, K-Nearest Neighbors (KNN), Support Vector Machines (SVM), Random Forest, and Decision to predict the presence of heart disease.