Model Prediksi Penyakit Stroke Menggunakan Explainable Neural-XGBoost Berbasis SHAP

Authors

  • Victor Tarigan Program Studi Teknik Informatika, Universitas Sam Ratulangi, Manado, Indonesia Author
  • Rendy Syahputra Program Studi Teknik Informatika, Universitas Sam Ratulangi, Manado, Indonesia Author
  • Suharno Usman Program Studi Ilmu Keperawatan, Universitas Sam Ratulangi, Manado, Indonesia Author

DOI:

https://doi.org/10.70716/reswara.v4i4.885

Keywords:

stroke, prediction, XGBoost, SHAP, classification

Abstract

Stroke is a major health concern that requires accurate prediction to support early prevention and intervention. This study aims to develop a stroke prediction model using a Hybrid Deep Neural Network–XGBoost approach integrated with SHapley Additive exPlanations (SHAP)-based Explainable Artificial Intelligence (XAI). The research procedures include data preprocessing, class imbalance handling using the Synthetic Minority Over-sampling Technique (SMOTE), feature extraction using a Deep Neural Network (DNN), classification using XGBoost, and model interpretation using SHAP. Model performance was evaluated using stratified 5-fold cross-validation based on accuracy, precision, recall, F1-score, and the area under the receiver operating characteristic curve (ROC-AUC). The proposed model was compared with six benchmark models: Logistic Regression, Decision Tree, K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Random Forest, and baseline XGBoost. The results show that the Hybrid DNN–XGBoost model achieved an accuracy of 64.46% ± 0.80%, precision of 64.55% ± 0.87%, recall of 64.17% ± 0.76%, F1-score of 64.36% ± 0.76%, and ROC-AUC of 69.72% ± 0.99%. Its accuracy exceeded that of all benchmark models, which ranged from 48.96% to 50.62%. SHAP analysis identified DeepFeature_28, DeepFeature_31, DeepFeature_5, DeepFeature_6, and DeepFeature_26 as the features contributing most to the model's predictions. These features were associated with major clinical risk factors, including age, blood pressure, glucose levels, and body mass index (BMI). These findings indicate that the Hybrid DNN–XGBoost approach improves predictive performance compared with the benchmark models while providing insights into feature contributions to stroke predictions.

References

Aggio, L. H. F., & Krummenauer, R. (2025). Deep Neural Network and Feature Extraction Approach for Anomaly Detection and Classification in Infrared Images of Photovoltaic Systems. IEEE Access, 13(September), 210540–210553. https://doi.org/10.1109/ACCESS.2025.3643195

Akib, A. S. M. A. S., Khawla, R., & Hasib, A. (2025). Optimizing Stroke Risk Prediction : A Machine Learning Pipeline Combining ROS-Balanced Ensembles and XAI. arXiv Preprint arXiv:2512, 1(1), 1–6. https://doi.org/10.48550/arXiv.2512.01333

Alzubaidi, L., Bai, J., Al-Sabaawi, A., Santamaría, J., Albahri, A. S., Al-Dabbagh, B. S. N., ... & Gu, Y. (2023). A survey on deep learning tools dealing with data scarcity: definitions, challenges, solutions, tips, and applications. Journal of Big Data, 10(1), 46. https://doi.org/10.1186/s40537-023-00727-2

Alzubaidi, L., Zhang, J., Humaidi, A. J., Al-Dujaili, A., Duan, Y., Al-Shamma, O., ... & Farhan, L. (2021). Review of deep learning: concepts, CNN architectures, challenges, applications, future directions. Journal of big Data, 8(1), 53. https://doi.org/10.1186/s40537-021-00444-8

Asadi, F., Paghe, A., & Rahimi, M. (2024). The most efficient machine learning algorithms in stroke prediction : A systematic review. A Systematic Review. Health Sci Rep, 1–14. https://doi.org/10.1002/hsr2.70062

Azhari, M., Situmorang, Z., & Rosnelly, R. (2021). Perbandingan Akurasi, Recall, dan Presisi Klasifikasi pada Algoritma C4.5, Random Forest, SVM dan Naive Bayes. Jurnal Media Informatika Budidarma, 5(2), 640. https://doi.org/10.30865/mib.v5i2.2937

Azizah, N. N., Utami, W. D., & Fanani, A. (2026). Algoritma XGBoost Untuk Analisis Prediksi Permintaan Kalibrasi di PT PAL Indonesia. JIKO (Jurnal Informatika Dan Komputer), 10(1), 14–27. https://doi.org/10.26798/jiko.v10i1.2245

Bathla, P., & Kumar, R. (2024). A hybrid system to predict brain stroke using a combined feature selection and classifier. Intelligent Medicine, 4(2), 75–82. https://doi.org/10.1016/j.imed.2023.06.002

Chen C, Ren Z, Zong H, X. Y. and H. Y. (2025). Development and validation of explainable machine learning models for predicting 3-month functional outcomes in acute ischemic stroke : a SHAP-based approach. Frontiers in Neurology, 16(1), 1–12. https://doi.org/10.3389/fneur.2025.1678815

Fang, T., & Deng, J. (2023). An Interpretable Prediction Model for Stroke Based on XGBoost and SHAP. Journal of Clinical and Nursing Research, 7(3), 96–106. https://doi.org/10.26689/jcnr.v7i3.4957

Haidar, N., Alsalman, K., Al-ghraibah, A., Maisharah, S., Ghadzi, S., & Looi, I. (2026). Prediction of recurrent ischemic stroke using machine learning from real-world data. BMC Med Res Methodology, 4(1), 1–16. https://doi.org/10.1186/s12874-026-02778-4

Hakim, L., Sobri, A., Sunardi, L., & Nurdiansyah, D. (2025). Prediksi penyakit jantung berbasis mesin learning dengan menggunakan metode k-nn. Jurnal Digital Teknologi Informasi, 07(02), 14–20. https://doi.org/10.32502/digital.v7i2.9429

Hasan, K., Alam, A., Roy, S., Dutta, A., Jawad, T., & Das, S. (2021). Missing value imputation affects the performance of machine learning : A review and analysis of the literature ( 2010 – 2021 ). Informatics in Medicine Unlocked, 27, 1–23. https://doi.org/10.1016/j.imu.2021.100799

Helmiyah, S., & Pramestiawan, R. (2025). Analisis Komparatif Algoritma Machine Learning dengan Metrik Akurasi , Presisi , Recall , dan F1-Score pada Dataset Kacang Kering. IKOMTI (Jurnal Ilmu Komputer Dan Teknologi), 6(3), 152–159. https://doi.org/10.35960/ikomti.v6i3.2031

Hicks, S. A., Strümke, I., Thambawita, V., Hammou, M., Riegler, M. A., Halvorsen, P., & Parasa, S. (2022). On evaluation metrics for medical applications of artificial intelligence. Scientific reports, 12(1), 5979. https://doi.org/10.1038/s41598-022-09954-8

Koukaras, P.; Tjortjis, C. (2025). Data Preprocessing and Feature Engineering for Data Mining: Techniques, Tools, and Best Practices. AI, 6(10), 1–40. https://doi.org/10.3390/ai6100257

Miah, M. R., & Islam, M. (2024). Review of Applied Science and Technology Data Preprocessing and Feature Engineering Strategies for Large-Scale Predictive Modeling Applications. Review of Applied Science and Technology, 3(1), 263–302. https://doi.org/10.63125/tqqqed47

Ridwan, Hermaliani, E. H., & Ernawati, M. (2024). Penerapan Metode SMOTE Untuk Mengatasi Imbalanced Data Pada Klasifikasi Ujaran Kebencian. Computer Science (CO-SCIENCE), 4(1), 80–88. https://doi.org/10.31294/coscience.v4i1.2990

Romadloni, P. L., Kusuma, B. A., Baihaqi, W. M., Komputer, F. I., & Purwokerto, U. A. (2022). Komparasi metode pembelajaran mesin untuk implementasi pengambilan keputusan dalam menentukan promosi jabatan karyawan. JATI (Jurnal Mahasiswa Teknik Informatika), 6(2), 622–628. https://doi.org/10.36040/jati.v6i2.5238

Shabbir, A. B. (2025). SHAP-Weighted Hybrid Ensemble for Interpretable Stroke Risk Prediction Using Tabular Clinical Data. Robotics and Artificial Intelligence Review, 1(1), 21–48. https://doi.org/10.32350/UMT-AIR

Tohka, J., & Gils, M. Van. (2021). Evaluation of machine learning algorithms for health and wellness applications : A tutorial. Computers in Biology and Medicine, 132(March), 104324. https://doi.org/10.1016/j.compbiomed.2021.104324

Downloads

Published

2026-10-16

How to Cite

Tarigan, V., Syahputra, R. ., & Usman, S. . (2026). Model Prediksi Penyakit Stroke Menggunakan Explainable Neural-XGBoost Berbasis SHAP. RESWARA: Jurnal Riset Ilmu Teknik, 4(4), 1610-1629. https://doi.org/10.70716/reswara.v4i4.885