Performance Comparison of Tree-Based Models for Heart Disease Prediction Using Feature Selection and SMOTE

Authors

  • Santi Santi Universitas Amikom Yogyakarta
  • Ema Utami Universitas Amikom Yogyakarta

Keywords:

Heart disease prediction, Machine Learning, ensemble learning, Decision Tree, SMOTE

Abstract

Heart disease remains the leading cause of mortality worldwide, highlighting the need for accurate early prediction models. This study proposes a machine learning framework for heart disease prediction using the BRFSS 2015 Heart Disease Health Indicators dataset, which contains 253,680 records and 22 attributes. The proposed approach integrates Synthetic Minority Oversampling Technique (SMOTE) for class imbalance handling, mutual information-based SelectKBest feature selection (k = 15), and three tree-based classifiers: Decision Tree, Random Forest, and XGBoost. A leakage-free preprocessing pipeline was implemented to ensure that SMOTE was applied only to the training data, and classification threshold optimization was performed to improve minority class detection. Model performance was evaluated using Accuracy, Precision, Recall, F1-score, and ROC-AUC metrics. Experimental results show that XGBoost achieved the best performance with a cross-validation ROC-AUC of 0.9815 and a test ROC-AUC of 0.8444 at an optimized threshold of 0.20. The findings demonstrate that the proposed integration of oversampling, feature selection, and threshold optimization can improve predictive performance for imbalanced cardiovascular risk data, providing a practical foundation for machine learning–based decision support in early heart disease risk screening.  

Author Biographies

Santi Santi, Universitas Amikom Yogyakarta

Digital Transformation Intelligence

Ema Utami, Universitas Amikom Yogyakarta

Digital Transformation Intelligence    

References

[1] S. Juwariyah and E. Utami, “Enhancing Stacking Model Fusion for Heart Disease Prediction,” in Proc. 2024 IEEE Int. Conf. Technol., Informat., Manage., Eng. Environ. (TIME-E), 2024, pp. 51–56. doi: 10.1109/TIME-E62724.2024.10919829.

[2] A. Navita, M. Kaur, S. N. Sharma, and R. K. Gupta, “Advanced Hybrid Machine Learning Model for Accurate Detection of Cardiovascular Disease,” Int. J. Comput. Intell. Syst., vol. 18, no. 1, 2025. doi: 10.1007/s44196-025-00771-1.

[3] D. Sharma and P. Singh, “Heart Disease Prediction Using Machine Learning with Ensemble Techniques,” arXiv preprint, 2023. [Online]. Available: https://arxiv.org/pdf/2306.09989.

[4] W. Lin, Y. Zhang, Z. Chen, and C. Tang, “Predicting risk of obesity in overweight adults using interpretable machine learning algorithms,” Front. Endocrinol., vol. 14, 2023. doi: 10.3389/fendo.2023.1292167.

[5] E. Sakyi-Yeboah, S. A. Osei, and M. Asare, “Heart Disease Prediction Using Ensemble Tree Algorithms: A Supervised Learning Perspective,” Appl. Comput. Intell. Soft Comput., vol. 2025, no. 1, 2025. doi: 10.1155/acis/1989813.

[6] P. Mahajan, M. Goyal, and A. Kumar, “Ensemble Learning for Disease Prediction: A Review,” Healthcare, vol. 11, no. 12, 2023. doi: 10.3390/healthcare11121808.

[7] R. R. Sarra, F. Wibowo, and H. Kurniawan, “Enhanced Stacked Ensemble-Based Heart Disease Prediction with Chi-Square Feature Selection Method,” J. Robot. Control, vol. 5, no. 6, pp. 1753–1763, 2024. doi: 10.18196/jrc.v5i6.23191.

[8] I. Guyon and A. Elisseeff, “An Introduction to Variable and Feature Selection,” J. Mach. Learn. Res., vol. 3, pp. 1157–1182, 2003. doi: 10.1162/153244303322753616.

[9] B. S. Ingole, S. N. Kaware, and R. S. Patel, “Advancements in Heart Disease Prediction: A Machine Learning Approach for Early Detection and Risk Assessment,” arXiv preprint, 2024. [Online]. Available: https://arxiv.org/pdf/2410.14738.

[10] D. Zha, J. Liu, and R. Wang, “Data-centric AI: Perspectives and Challenges,” arXiv preprint arXiv:2301.04819, 2023. doi: 10.48550/arXiv.2301.04819.

[11] T. Ullah, M. A. Khan, and S. Ali, “Machine Learning-Based Cardiovascular Disease Detection Using Optimal Feature Selection,” IEEE Access, vol. 12, pp. 16431–16446, 2024. doi: 10.1109/ACCESS.2024.3359910.

[12] M. S. Pathan, A. Nag, M. M. Pathan, and S. Dev, “Analyzing the Impact of Feature Selection on the Accuracy of Heart Disease Prediction,” Healthcare Analytics, vol. 2, Nov. 2022, Art. no. 100060. doi: 10.1016/j.health.2022.100060.

[13] T. Chen and C. Guestrin, “XGBoost: A Scalable Tree Boosting System,” in Proc. 22nd ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., 2016, pp. 785–794.doi: 10.1145/2939672.2939785.

[14] T. G. Dietterich, “Ensemble Methods in Machine Learning,” in Multiple Classifier Systems: First Int. Workshop, MCS 2000, Cagliari, Italy, June 21–23, 2000 Proc., 2000, pp. 1–15. doi: 10.1007/3-540-45014-9_1.

[15] J. Yang and J. Guan, “A Heart Disease Prediction Model Based on Feature Optimization and SMOTE-XGBoost Algorithm,” Information, vol. 13, no. 10, 2022. doi: 10.3390/info13100475.

Downloads

Published

2026-07-15

How to Cite

Santi, S., & Utami, E. (2026). Performance Comparison of Tree-Based Models for Heart Disease Prediction Using Feature Selection and SMOTE. JUITA: Jurnal Informatika, 14(2), 434–443. Retrieved from http://jurnalnasional.ump.ac.id/index.php/JUITA/article/view/29098

Issue

Section

Articles

Similar Articles

1 > >> 

You may also start an advanced similarity search for this article.