Heart Disease Prediction System Employing Machine Learning

Authors

  • Rian Nopiardi Bakrie University, Jakarta
  • Raka Dimas Saputra Bakrie University, Jakarta
  • Niken Fitria Apriani National Research and Innovation Agency, Jakarta
  • Al Hafiz Akbar Maulana Siagian Bakrie University, Jakarta , National Research and Innovation Agency, Jakarta
  • Shidiq Al Hakim National Research and Innovation Agency, Jakarta
  • Tirana Noor Fatyanosa Brawijaya University, Malang

DOI:

https://doi.org/10.25126/jitecs.2025102926

Abstract

Heart disease places a significant strain on healthcare systems. Moreover, it kills millions of people each year, which is a leading cause of death worldwide. Hypertension, diabetes, unhealthy lifestyles, and genetic predispositions are all risk factors for heart disease. However, it is not easy to identify a heart disease. For this reason, helping in identifying the heart disease is important to prevent a death, e.g., caused by a heart attack. In this study, we aim to develop a heart disease prediction system. The system is developed according to the Cross-Industry Standard Process for Data Mining (CRISP-DM) framework by employing machine learning algorithms. In this work, Logistic Regression (LR) and Random Forest (RF) are utilized as our machine learning algorithms for classifying heart disease using a heart disease dataset from Kaggle. Our results show LR has an AUC value of 0.921 and F1-Score 0.89 that outperforms RF with an AUC value of 0.920 and F1-Score 0.84 in this work. Then, we select LR to be applied to the developed heart disease prediction system.

Downloads

Download data is not yet available.

References

1. W. H. Organization, “Cardiovascular diseases (CVDs).” [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/cardiovascular-diseases-(cvds)

2. 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. 1, pp. 2011–2023, Apr. 2021, doi: 10.1007/s41870-021-00650-w.

3. S. H. Mulyani, N. Wijaya, and F. Trinidya, “Enhancing Heart Disease Detection Using Convolutional Neural Networks and Classic Machine Learning Methods,” J. Comput. Electron. Telecommun., vol. 4, no. 2, pp. 2–16, 2023, doi: 10.52435/complete.v4i2.394.

4. A. Siddiqui and S. W. A. Rizvi, “Heart Disease Prediction by using Random Forest Classifier,” J. Appl. Sci. Educ. JASE, vol. 3, no. 2, pp. 1–9, Nov. 2023, doi: 10.54060/jase.v3i2.29.

5. L. B. C. Tanujaya, B. Susanto, and A. Saragih, “Perbandingan Metode Regresi Logistik dan Random Forest untuk Klasifikasi Fitur Mode Audio Spotify (Comparison of Logistic Regression and Random Forest Methods for Classifying Spotify Audio Mode Features),” Indones. J. Data Sci., vol. 1, no. 3, pp. 68–78, Dec. 2020, doi: 10.33096/ijodas.v1i3.16.

6. A. Ghorbani et al., “Deep learning interpretation of echocardiograms,” NPJ Digit. Med., vol. 3, no. 1, p. 10, 2020.

7. D. G. Kleinbaum and M. Klein, Logistic regression: A self learning text. Springer New York, NY, 2010. doi: https://doi.org/10.1007/978-1-4419-1742-3.

8. C. M. Bhatt, P. Patel, T. Ghetia, and P. L. Mazzeo, “Effective Heart Disease Prediction Using Machine Learning Techniques,” Algorithms, vol. 16, no. 2, 2023, doi: 10.3390/a16020088.

9. R. Hasan, “Comparative Analysis of Machine Learning Algorithms for Heart Disease Prediction,” Int. Conf. Autom. Comput. Commun. 2021 ICACC-2021, vol. 40, p. 03007, 2021, doi: 10.1051/itmconf/20214003007.

10. I. D. Mienye and Y. Sun, “Effective feature selection for improved prediction of heart disease,” in Pan-African Artificial Intelligence and Smart Systems Conference, Springer, 2022, pp. 94–107. doi: https://doi.org/10.1007/978-3-030-93314-2_6.

11. D. Chicco and G. Jurman, “Machine learning can predict survival of patients with heart failure from serum creatinine and ejection fraction alone,” BMC Med. Inform. Decis. Mak., vol. 20, pp. 1–16, 2020, doi: https://doi.org/10.1186/s12911-020-1023-5.

12. D. Kauffman, “Cardiovascular Disease Burden, Deaths Are Rising Around the World.”

13. R. Wirth and J. Hipp, “CRISP-DM: Towards a standard process model for data mining,” in Proceedings of the 4th international conference on the practical applications of knowledge discovery and data mining, Manchester, 2000, pp. 29–39. [Online]. Available: http://cs.unibo.it/~danilo.montesi/CBD/Beatriz/10.1.1.198.5133.pdf

14. A. Azevedo and M. F. Santos, “KDD, SEMMA and CRISP-DM: a parallel overview,” IADS-DM, 2008, [Online]. Available: https://recipp.ipp.pt/handle/10400.22/136

15. T. Mauritsius and F. Binsar, “Cross-Industry Standard Process for Data Mining (CRISP-DM).” Sep. 2020. [Online]. Available: https://mmsi.binus.ac.id/2020/09/18/cross-industry-standard-process-for-data-mining-crisp-dm/

16. A. R. Sibuea and E. Sukma, “Analisis Langkah-Langkah Pendekatan Saintifik pada Pembelajaran Tematik Terpadu di Sekolah Dasar Menurut Para Ahli (Analysis of Scientific Approach Steps in Integrated Thematic Learning in Elementary Schools According to Experts),” J. Basic Educ. Stud., vol. 4, no. 1, Jun. 2021, [Online]. Available: https://ejurnalunsam.id/index.php/jbes/article/view/3755

17. D. H. Susilo, “Heart Disease.” 2022.

18. P. Schober, C. Boer, and L. A. Schwarte, “Correlation coefficients: appropriate use and interpretation,” Anesth. Analg., vol. 126, no. 5, pp. 1763–1768, 2018, doi: 10.1213/ANE.0000000000002864.

19. J. H. Friedman and B. E. Popescu, “Predictive learning via rule ensembles,” Ann. Appl. Stat., vol. 2, no. 3, pp. 916–954, 2008, doi: https://doi.org/10.1214/07-AOAS148.

20. T. Saito and M. Rehmsmeier, “The precision-recall plot is more informative than the ROC plot when evaluating binary classifiers on imbalanced datasets,” PloS One, vol. 10, no. 3, p. e0118432, 2015, doi: 10.1213/ANE.0000000000002864.

21. K. Kirasich, T. Smith, and B. Sadler, “Random Forest vs Logistic Regression: Binary Classification for Heterogeneous Datasets,” SMU Data Sci. Rev., vol. 1, no. 3, 2018.

Downloads

Published

2026-08-20

Issue

Section

Articles

How to Cite

Heart Disease Prediction System Employing Machine Learning. (2026). Journal of Information Technology and Computer Science, 10(2), 188-199. https://doi.org/10.25126/jitecs.2025102926