Analisis Pola Pembelian Menggunakan Algoritma FP-Growth pada Dataset Online Retail
DOI:
https://doi.org/10.63822/c0hybs44Keywords:
Machine Learning, Classification, Heart Disease, Naïve Bayes, UCI Heart Disease DatasetAbstract
Heart disease is one of the leading causes of death worldwide, highlighting the need for accurate predictive methods to support early detection. This study aims to analyze and compare the performance of Decision Tree, Naïve Bayes, K-Nearest Neighbor (KNN), and Random Forest algorithms for heart disease prediction using the UCI Heart Disease Dataset. A quantitative experimental approach was employed using 920 patient records with 16 attributes. Data preprocessing included removing irrelevant attributes, handling missing values using median and mode imputation, applying One-Hot Encoding to categorical variables, standardizing numerical variables using StandardScaler, and transforming the target variable into binary classes. The dataset was divided into 80% training data and 20% testing data. The four classification models were evaluated using Accuracy, Precision, Recall, and F1-Score. The results showed that Naïve Bayes achieved the best performance, with an Accuracy of 86.96%, Precision of 87.50%, Recall of 89.22%, and F1-Score of 88.35%, outperforming the other algorithms. These findings indicate that Naïve Bayes is effective for heart disease classification and has potential as a predictive model to support early detection.
References
Almutairi, M., Dardouri, S., Almutairi, M., & Dardouri, S. (2025). Intelligent Hybrid Modeling for Heart Disease Prediction. Information, 16(10), 869. https://doi.org/10.3390/info16100869
Al-Nafjan, A., Aljuhani, A., Alshebel, A., AlHarbi, A., & Alshehri, A. (2025). Artificial Intelligence in Predictive Healthcare: A Systematic Review. Stomatology, 14(19), 6752. https://doi.org/10.3390/jcm14196752
Ayankoya, F., Kuyoro, S. O., Nzenwata, U., & Edwin, E. (2025). A Systematic Review of Machine Learning and Deep Learning Approaches for Heart Disease Prediction. Asian Journal of Research in Computer Science. https://doi.org/10.9734/ajrcos/2025/v18i12799
Barry, K. A., Manzali, Y., Labaybi, O., Rachid, F., & Elfar, M. (2023). Heart Disease Prediction and Classification Using Machine Learning Algorithms. 71–76. https://doi.org/10.1109/cist56084.2023.10410012
Biddinika, M. K., Masitha, A., Herman, H., & Fatimah, V. A. N. (2024a). Machine Learning Techniques for Heart Disease Prediction Using a Multi-Algorithm Approach. Jurnal Informatika. https://doi.org/10.30595/juita.v12i2.24153
Biddinika, M. K., Masitha, A., Herman, H., & Fatimah, V. A. N. (2024b). Machine Learning Techniques for Heart Disease Prediction Using a Multi-Algorithm Approach. Jurnal Informatika. https://doi.org/10.30595/juita.v12i2.24153
Chikhale, S. R. (2023). Review on Heart Disease Prediction Using Machine Learning Algorithms. International Journal for Research in Applied Science and Engineering Technology. https://doi.org/10.22214/ijraset.2023.57048
Durgadevi, A. (2016). Comparative Study of Data Mining Classification Algorithms in Heart Disease Prediction. http://www.paperpublications.org/download.php?file=Comparative%20Study%20of%20Data%20Mining-501.pdf&act=book
Fahim, M., Hassan, M. K., Karpagavalli, S. M., Jansi, S., Jha, R. K., & Mahesh, T. R. (2024). Advancing Cardiovascular Health Prediction: Machine Learning Algorithm Analysis. https://doi.org/10.1109/csnt60213.2024.10546094
Goel, N., & Pandey, A. (2023). Comparative Analysis of Single Classifier Models against Aggregated Fusion Models for Heart Disease Prediction. International Conference on Database Theory, 576–580. https://doi.org/10.1109/ICDT57929.2023.10150611
Haider, M., Hussain, M., & Insany, G. P. (2025). Heart Attack Prediction Using Machine Learning Models: A Comparative Study of Naive Bayes, Decision Tree, Random Forest, and K-Nearest Neighbors. 121. https://doi.org/10.3390/engproc2025107121
Ingole, B. S., Ramineni, V., Jayaram, V., Banarse, A. R., Krishnappa, M. S., Pulipeta, N. K., Parlapalli, V., & Pandy, G. (2024). Prediction and Early Detection of Heart Disease: A Hybrid Neural Network and SVM Approach. 282–286. https://doi.org/10.1109/mcsoc64144.2024.00054
Kasbe, T. (2023). Machine Learning in Healthcare (pp. 1–13). IGI Global. https://doi.org/10.4018/978-1-6684-8974-1.ch001
Kusuma, S., & Jothi, K. R. (2021). Cardiovascular Disease Prediction and Comparative Analysis of Varied Classifier Techniques. https://doi.org/10.1109/GCAT52182.2021.9587734
Nandy, A., Choudhary, J. S., Fredrick, J., Zacharia, T. S., Joseph, T., & Kaur, V. (2024). Machine Learning for Healthcare. 59–77. https://doi.org/10.1201/9781032694870-5
Paracha, W. T., Nasir, J. A., Farhan, M., Paracha, M. F. K., & Iqbal, M. J. (2025). Optimizing Heart Disease Prediction with Machine Learning and Feature Selection Techniques. https://doi.org/10.5281/zenodo.16487579
Prasetyo, S. Y., Saputri, H. A., Nabiilah, G. Z., & Wulandari, A. (2023). Model-Based Learning Techniques for Accurate Heart Disease Risk Prediction. 266–271. https://doi.org/10.1109/icmeralda60125.2023.10458149
Samyal, V., & Singh, S. (2025). Performance Comparison of Machine Learning Models for Heart Disease Prediction. Ibn Al-Haitham. https://doi.org/10.71097/ijsat.v16.i4.9857
Sawan, V., Jugnu, K., Roy, D. P., & Pandey, R. (2023). Comparative assessment of machine learning algorithms for heart disease prediction. International Journal of Engineering Applied Science and Technology. https://doi.org/10.33564/ijeast.2023.v08i03.016
Sharma, P., Kumra, R., & Bhaggi, E. (2025). Transforming Healthcare. Advances in Computational Intelligence and Robotics Book Series, 413–430. https://doi.org/10.4018/979-8-3373-2597-2.ch014
Simanjuntak, M. S., Robet, R., & Hoki, L. (2025). A Comparative Study of Machine Learning and Deep Learning Models for Heart Disease Classification. Journal of Applied Informatics and Computing. https://doi.org/10.30871/jaic.v9i6.11546
Suwondo, A., Kusrini, K., Utami, E., & Yuana, K. A. (2025). Survey of the Performance of Classification Algorithms on Heart Disease Datasets: A Systematic Literature Review. 539–546. https://doi.org/10.1109/ies67184.2025.11161964
Yadav, C., & Chandrakar, S. (2025). Machine Learning-Based Heart Disease Prediction: A Comparative Evaluation of Classification Methods. International Journal of Advanced Research in Science, Communication and Technology, 240–247. https://doi.org/10.48175/ijarsct-29634
Yadav, S., Yadav, A., Srivastava, S. P., & Rai, P. (2024). Heart Disease Prediction Using Machine Learning. Indian Scientific Journal Of Research In Engineering And Management, 08(008), 1–4. https://doi.org/10.55041/ijsrem37304
Yasmeen, Z., Machi, S., Maguluri, K. K., Mandala, G., & Danda, R. (2024). Transforming Patient Outcomes: Cutting-Edge Applications of AI and ML in Predictive Healthcare. South Eastern European Journal of Public Health, 1704–1712. https://doi.org/10.70135/seejph.vi.2202
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Andi Prastomo, Riezca Talita Trista, Yuli Haryanto (Author)

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



