journal article·2025Open access

A Machine Learning-Based Framework for Heart Disease Diagnosis Using a Comprehensive Patient Cohort

Saadia Tabassum, Fazal Muhammad, Muhammad Ayaz Khan, Muhammad Uzair Khan, Dawar Awan, Neelam Gohar, Shahid Khan, Amal Al-Rasheed

Computers, Materials & Continua· Volume 84· Issue 1

Abstract

Early and accurate detection of Heart Disease (HD) is critical for improving patient outcomes, as HD remains a leading cause of mortality worldwide. Timely and precise prediction can aid in preventive interventions, reducing fatal risks associated with misdiagnosis. Machine learning (ML) models have gained significant attention in healthcare for their ability to assist professionals in diagnosing diseases with high accuracy. This study utilizes 918 instances from publicly available UCI and Kaggle datasets to develop and compare the performance of various ML models, including Adaptive Boosting (AB), Naïve Bayes (NB), Extreme Gradient Boosting (XGB), Bagging, and Logistic Regression (LR). Before model training, data preprocessing techniques such as handling missing values, outlier detection using Isolation Forest, and feature scaling were applied to improve model performance. The evaluation was conducted using performance metrics, including accuracy, precision, recall, and F1-score. Among the tested models, XGB demonstrated the highest predictive performance, achieving an accuracy of 94.34% and an F1-score of 95.19%, surpassing other models and previous studies in HD prediction. LR closely followed with an accuracy of 93.08% and an F1-score of 93.99%, indicating competitive performance. In contrast, NB exhibited the lowest performance, with an accuracy of 88.05% and an F1-score of 89.02%, highlighting its limitations in handling complex patterns within the dataset. Although ML models show superior performance as compared to previous studies, some limitations exist, including the use of publicly available datasets, which may not fully capture real-world clinical variations, and the lack of feature selection techniques, which could impact model interpretability and robustness. Despite these limitations, the findings highlight the potential of ML-based frameworks for accurate and efficient HD detection, demonstrating their value as decision-support tools in clinical settings.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Artificial Intelligence in Healthcare

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (40)

Show source-provided references
1. Methods for clinical evaluation of artificial intelligence algorithms for medical diagnosis10.1148/radiol.220182 ↗
2. Federated learning in smart healthcare: a comprehensive review on privacy, security, and predictive analytics with IoT integration10.3390/healthcare12242587 ↗
3. The role of machine learning and deep learning approaches for the detection of skin cancer10.3390/healthcare11030415 ↗
4. Machine learning techniques for the diagnosis of Alzheimer’s disease: a review
5. Diabetes prediction using machine learning and explainable AI techniques10.1049/htl2.12039 ↗
6. Prediction of breast cancer, comparative review of machine learning techniques, and their analysis10.1109/ACCESS.2020.3016715 ↗
7. Early diagnosis of pancreatic cancer by machine learning methods using urine biomarker combinations10.55730/1300-0632.3974 ↗
8. An extensive review of machine learning and deep learning techniques on heart disease classification and prediction10.1007/s11831-024-10075-w ↗
9. Early diagnosis of liver disease using improved binary butterfly optimization and machine learning algorithms10.1007/s11042-023-16686-y ↗
10. Machine learning-based models for magnetic resonance imaging (MRI)-based brain tumor classification10.32604/iasc.2023.032426 ↗
11. Efficient superpixel-based brain MRI segmentation using multi-scale morphological gradient reconstruction and quantum clustering10.1016/j.bspc.2024.107063 ↗
12. Global epidemiology of ischemic heart disease: results from the global burden of disease study
13. A scoping review of machine learning techniques and their utilisation in predicting heart diseases10.30526/35.3.2813 ↗
14. A web-based heart disease prediction system using machine learning algorithms
15. Grid search for predicting coronary heart disease by tuning hyper-parameters10.32604/csse.2022.022739 ↗
16. HeartEnsembleNet: an innovative hybrid ensemble learning approach for cardiovascular risk prediction10.3390/healthcare13050507 ↗
17. Improvement of heart attack prediction by the feature selection methods10.3906/elk-1611-235 ↗
18. Predictive and descriptive analysis for heart disease diagnosis
19. A hybrid intelligent system framework for the prediction of heart disease using machine learning algorithms
20. Prediction of cardiovascular disease using machine learning algorithms
21. Prediction of coronary heart disease using machine learning: an experimental analysis
22. IoT based heart disease prediction and diagnosis model for healthcare using machine learning models
23. An improved ensemble learning approach for the prediction of heart disease risk10.1016/j.imu.2020.100402 ↗
24. Heart disease identification method using machine learning classification in e-healthcare10.1109/ACCESS.2020.3001149 ↗
25. Predictive analysis of heart diseases with machine learning approaches
26. Prediction of cardiovascular disease on self-augmented datasets of heart patients using multiple machine learning models10.1155/2022/3730303 ↗
27. A method for improving prediction of human heart disease using machine learning algorithms
28. Involving machine learning techniques in heart disease diagnosis: a performance analysis
29. Impact of computing platforms on classifier performance in heart disease prediction10.22581/muet1982.3268 ↗
30. International application of a new probability algorithm for the diagnosis of coronary artery disease10.1016/0002-9149(89)90524-9 ↗
31. Fedesoriano. Heart Failure Prediction Dataset [Internet]. Kaggle; 1989 [cited 2025 Feb 4]. Available from: https://www.kaggle.com/datasets/fedesoriano/heart-failure-prediction/data.
32. Impact of preprocessing methods on healthcare predictions
33. Clinically applicable machine learning approaches to identify attributes of chronic kidney disease (CKD) for use in low-cost diagnostic screening
34. Diabetes prediction using ensembling of different machine learning classifiers10.1109/ACCESS.2020.2989857 ↗
35. Effect of data scaling methods on machine learning algorithms and model performance10.3390/technologies9030052 ↗
36. Improving cardiovascular disease prognosis using outlier detection and hyperparameter optimization of machine learning models
37. An empirical evaluation of machine learning techniques for chronic kidney disease prophecy10.1109/ACCESS.2020.2981689 ↗
38. Prediction model for diagnosing heart disease using classification algorithm10.55849/health.v1i2.347 ↗
39. Enhancing prognosis accuracy for ischemic cardiovascular disease using K nearest neighbor algorithm: a robust approach10.1109/ACCESS.2023.3312046 ↗
40. Evaluating machine learning models for prediction of coronary artery disease10.36922/gtm.2669 ↗