Machine Learning-Based Early Cardiovascular Disease Prediction: A Comparative Analysis of Supervised Learning Algorithms Using a Pakistani Clinical Dataset
DOI:
https://doi.org/10.33411/IJIST/1963Keywords:
Cardiovascular Disease, Machine Learning, Random Forest, Support Vector Machine, XGBoost, Early Diagnosis, Pakistan, Asian Indian Phenotype, Interactive DashboardAbstract
Cardiovascular Diseases (CVDs) continue to be one of the leading causes of deaths in the world, claiming some 17.9 million lives every year. This burden is higher in Pakistan because of "Asian Indian Phenotype" which makes them vulnerable to early coronary artery disease. The commonly used traditional risk prediction models, including the Framingham Risk Score, have been developed in Western populations and are poorly predictive in South Asian populations. This study aims to fill this important gap by designing, implementing and comparative evaluation of six supervised machine learning algorithms for early detection of cardiovascular disease using a locally collected clinical dataset of 411 patient records with 13 independent clinical attributes. The models tested are Logistic Regression, K Nearest Neighbor, Support Vector Machine, Random Forest, Gradient Boosting and XGBoost. A rigorous gender-based mean imputation and Z-score normalization was done and split in 80/20 ratio. Empirical results show that the Random Forest classifier has Area under the Curve (AUC) of 0.9842, accuracy of 95.2%, precision of 96.0% and recall of 96.0%. The model was then exported and used to create a browser-based, predictive application that could be embedded in an interactive dashboard for real-time cardiovascular risk without the need for a server. These results confirm the effectiveness of ensemble learning approaches for medical diagnostics and highlight the potential of implementing ML-based screening tools in the limited resource healthcare environment in Pakistan.
References
A. Ogunpola, F. Saeed, S. Basurra, A. M. Albarrak, and S. N. Qasem, “Machine Learning-Based Predictive Models for Detection of Cardiovascular Diseases,” Diagnostics 2024, Vol. 14, Page 144, vol. 14, no. 2, p. 144, Jan. 2024, doi: 10.3390/DIAGNOSTICS14020144.
WHO, “Global Health Risks,” 2009, [Online]. Available: http://www.who.int/
healthinfo/global_burden_disease/GlobalHealthRisks_report_full.pdf
A. K. Siddiqi, E. Mubashir, A. A. A. Cheema, M. Noshab, and M. Naeem, “Pakistan’s rising cardiovascular disease burden associated with modifiable risk factors: an urgent appeal for evidence-driven action,” Ann. Med. Surg., vol. 88, no. 1, p. 59, Jan. 2025, doi: 10.1097/MS9.0000000000004565.
Z. Samad and B. Hanif, “Cardiovascular Diseases in Pakistan: Imagining a Postpandemic, Postconflict Future,” Circulation, vol. 147, no. 17, pp. 1261–1263, Apr. 2023, doi: 10.1161/CIRCULATIONAHA.122.059122.
M. S. Awan et al., “Factors Leading to Late Presentation of ST-Segment Elevation Myocardial Infarction for Thrombolytic Therapy,” J. Saidu Med. Coll., vol. 14, no. 3, pp. 249–253, Jul. 2024, doi: 10.52206/JSMC.2024.14.3.854.
S. Mohan, C. Thirumalai, and G. Srivastava, “Effective heart disease prediction using hybrid machine learning techniques,” IEEE Access, vol. 7, pp. 81542–81554, 2019, doi: 10.1109/ACCESS.2019.2923707.
“(PDF) Heart Disease Prediction using Machine Learning Algorithms.” Accessed: Mar. 09, 2022. [Online]. Available: https://www.researchgate.net/publication/
_Heart_Disease_Prediction_using_Machine_Learning_Algorithms
A. M. Qadri, A. Raza, K. Munir, and M. S. Almutairi, “Effective Feature Engineering Technique for Heart Disease Prediction With Machine Learning,” IEEE Access, vol. 11, pp. 56214–56224, 2023, doi: 10.1109/ACCESS.2023.3281484.
N. Rajesh, M. T, S. Hafeez, and H. Krishna, “Prediction of Heart Disease Using Machine Learning Algorithms,” Int. J. Eng. Technol., vol. 7, no. 2.32, pp. 363–366, May 2018, doi: 10.14419/IJET.V7I2.32.15714.
V. K. Sudha and D. Kumar, “Hybrid CNN and LSTM Network For Heart Disease Prediction,” SN Comput. Sci. 2023 42, vol. 4, no. 2, pp. 172-, Jan. 2023, doi: 10.1007/S42979-022-01598-9.
“Machine Learning-Based Cardiovascular Disease Detection Using Optimal Feature Selection”, [Online]. Available: https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=10416957
W. Alsabhan and A. Alfadhly, “Effectiveness of machine learning models in diagnosis of heart disease: a comparative study,” Sci. Reports 2025 151, vol. 15, no. 1, pp. 24568-, Jul. 2025, doi: 10.1038/s41598-025-09423-y.
T. H. Rim et al., “Deep-learning-based cardiovascular risk stratification using coronary artery calcium scores predicted from retinal photographs,” Lancet Digit. Heal., vol. 3, no. 5, pp. e306–e316, May 2021, doi: 10.1016/S2589-7500(21)00043-1.
A. Javeed, S. U. Khan, L. Ali, S. Ali, Y. Imrana, and A. Rahman, “Machine Learning-Based Automated Diagnostic Systems Developed for Heart Failure Prediction Using Different Types of Data Modalities: A Systematic Review and Future Directions,” Comput. Math. Methods Med., vol. 2022, p. 9288452, 2022, doi: 10.1155/2022/9288452.
“What is Machine Learning? | IBM.” Accessed: Jul. 25, 2026. [Online]. Available: https://www.ibm.com/think/topics/machine-learning
R. Bhardwaj, A. R. Nambiar, and D. Dutta, “A Study of Machine Learning in Healthcare,” Proc. - Int. Comput. Softw. Appl. Conf., vol. 2, pp. 236–241, Sep. 2017, doi: 10.1109/COMPSAC.2017.164.
M. Abdar, W. Książek, U. R. Acharya, R. S. Tan, V. Makarenkov, and P. Pławiak, “A new machine learning technique for an accurate diagnosis of coronary artery disease,” Comput. Methods Programs Biomed., vol. 179, Oct. 2019, doi: 10.1016/j.cmpb.2019.104992.
M. Deng, C. Wang, M. Tang, and T. Zheng, “Extracting cardiac dynamics within ECG signal for human identification and cardiovascular diseases classification,” Neural Networks, vol. 100, pp. 70–83, Apr. 2018, doi: 10.1016/j.neunet.2018.01.009.
M. Liu and Y. Kim, “Classification of Heart Diseases Based on ECG Signals Using Long Short-Term Memory,” Proc. Annu. Int. Conf. IEEE Eng. Med. Biol. Soc. EMBS, vol. 2018-July, pp. 2707–2710, Oct. 2018, doi: 10.1109/EMBC.2018.8512761.
N. Pratheek, D. H. Balaji Yashas, Y. R. Bhanu Prakash, A. M. Bharadwaj, A. Kodapalli, and T. Rao, “Cardiovascular Disease Prediction with Machine Learning Algorithms and Interpretation using Explainable AI methods: LIME & SHAP,” 2024 3rd Int. Conf. Adv. Technol. ICONAT 2024, 2024, doi: 10.1109/ICONAT61936.2024.10774972.
N. Nagasoudhamani, A. Revathi, D. A. K. Rao, G. Dianakamal, T. R. Tulasi, and S. Rajasekhar Reddy, “Machine Learning Ensemble Model for Heart Disease Prediction,” Proc. Int. Conf. Intell. Comput. Control Syst. ICICCS 2025, pp. 1403–1408, 2025, doi: 10.1109/ICICCS65191.2025.10985246.
A. Ogunpola, F. Saeed, S. Basurra, A. M. Albarrak, and S. N. Qasem, “Machine Learning-Based Predictive Models for Detection of Cardiovascular Diseases,” Diagnostics 2024, Vol. 14, Page 144, vol. 14, no. 2, p. 144, Jan. 2024, doi: 10.3390/DIAGNOSTICS14020144.
M. A. Bouqentar et al., “Early heart disease prediction using feature engineering and machine learning algorithms,” Heliyon, vol. 10, no. 19, p. e38731, Oct. 2024, doi: 10.1016/J.HELIYON.2024.E38731.
P. Kaushik, Z. M. Khan, M. M. Khan, S. K. Saranya, S. Shamsi, and G. Parasa, “Heart Disease Prediction: Leveraging Machine Learning and Clinical Data,” 2025 IEEE Int. Conf. Interdiscip. Approaches Technol. Manag. Soc. Innov. IATMSI 2025, 2025, doi: 10.1109/IATMSI64286.2025.10984659.
A. Sahu, H. Gm, M. K. Gourisaria, S. S. Rautaray, and M. Pandey, “Cardiovascular risk assessment using data mining inferencing and feature engineering techniques,” Int. J. Inf. Technol., vol. 13, no. 5, pp. 2011–2023, Oct. 2021, doi: 10.1007/S41870-021-00650-W/METRICS.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 50SEA

This work is licensed under a Creative Commons Attribution 4.0 International License.


















