Student Dropout Prediction Using XGBoost and Explainable AI (SHAP): A Case Study of Portuguese Student Dataset

  • Chandra Kesuma Universitas Bina Sarana Informatika, Purwokerto
  • Vembria Rose Handayani Universitas Bina Sarana Informatika, Purwokerto

Abstract

Student dropout is one of the major challenges in higher education, as it can affect students’ academic continuity as well as the efficiency of institutional resource management. The availability of academic, administrative, demographic, and socioeconomic data provides opportunities to develop machine learning models capable of identifying students based on their dropout status. However, models with high predictive performance often have limited interpretability, making them difficult to use as an informative basis for higher education decision-makers. This study aims to develop a dropout status classification model using Extreme Gradient Boosting (XGBoost) and to explain the contribution of features to the model’s decisions using Explainable AI through the SHapley Additive exPlanations (SHAP) method. The dataset consists of 4,424 students from higher education institutions in Portugal, with 36 predictor variables. The original three-class target, consisting of Dropout, Enrolled, and Graduate, was transformed into a binary classification problem, with Dropout as the positive class and Graduate and Enrolled as the Non-Dropout class. The study compares Logistic Regression, Random Forest, Support Vector Machine (SVM), and XGBoost using accuracy, precision, recall, F1-score, and ROC-AUC. The results of stratified 5-fold cross-validation show that XGBoost achieves the best overall performance, with an accuracy of 88.07%, recall of 77.90%, F1-score of 80.76%, and ROC-AUC of 92.64%. On the testing data, XGBoost achieves an accuracy of 88.14%, precision of 83.03%, recall of 79.23%, F1-score of 81.08%, and ROC-AUC of 93.40%. SHAP analysis indicates that Curricular units 2nd sem (approved) is the feature with the greatest contribution to the model’s decisions, followed by Tuition fees up to date, Curricular units 1st sem (approved), Course, and Age at enrollment. Additional experiments removing first- and second-semester academic features resulted in a substantial decrease in model performance. These findings indicate that the model has strong predictive capability but is more appropriately used to predict dropout status based on students’ academic trajectories rather than being claimed as an early warning system from the beginning of their studies.


 

References

[1] V. Realinho, J. Machado, L. Baptista, and M. V. Martins (2022), “Predicting Student Dropout and Academic Success,” Data, vol. 7, no. 11, p. 146, doi: 10.3390/data7110146.
[2] T. Chen and C. Guestrin (2016), “XGBoost: A Scalable Tree Boosting System,” in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 785–794, doi: 10.1145/2939672.2939785.
[3] S. M. Lundberg and S.-I. Lee (2017), “A Unified Approach to Interpreting Model Predictions,” in Advances in Neural Information Processing Systems 30, pp. 4765–4774.
[4] L. Breiman (2001), “Random Forests,” Machine Learning, vol. 45, pp. 5–32, doi: 10.1023/A:1010933404324.
[5] C. Cortes and V. Vapnik (1995), “Support-vector networks,” Machine Learning, vol. 20, pp. 273–297, doi: 10.1007/BF00994018.
[6] M. Sokolova and G. Lapalme (2009), “A systematic analysis of performance measures for classification tasks,” Information Processing & Management, vol. 45, no. 4, pp. 427–437, doi: 10.1016/j.ipm.2009.03.002.
[7] M. V. Martins, L. Baptista, J. Machado, and V. Realinho (2023), “Multi-Class Phased Prediction of Academic Performance and Dropout in Higher Education,” Applied Sciences, vol. 13, no. 8, p. 4702, doi: 10.3390/app13084702.
[8] M. Vaarma and H. Li (2024), “Predicting student dropouts with machine learning: An empirical study in Finnish higher education,” Technology in Society, vol. 76, p. 102474, doi: 10.1016/j.techsoc.2024.102474.
[9] M. Nagy and R. Molontay (2024), “Interpretable Dropout Prediction: Towards XAI-Based Personalized Intervention,” International Journal of Artificial Intelligence in Education, vol. 34, no. 2, pp. 274–300, doi: 10.1007/s40593-023-00331-8.
[10] A. B. Arrieta et al. (2020), “Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI,” Information Fusion, vol. 58, pp. 82–115, doi: 10.1016/j.inffus.2019.12.012.
[11] L. Kemper, G. Vorhoff, and B. U. Wigger (2020), “Predicting student dropout: A machine learning approach,” European Journal of Higher Education, vol. 10, no. 1, pp. 28–47, doi: 10.1080/21568235.2020.1718520.
[12] J. G. C. Krüger, A. de S. Britto, and J. P. Barddal (2023), “An explainable machine learning approach for student dropout prediction,” Expert Systems with Applications, vol. 233, p. 120933, doi: 10.1016/j.eswa.2023.120933.
[13] L. G. R. Putra, D. D. Prasetya, and M. Mayadi (2025), “Student Dropout Prediction Using Random Forest and XGBoost Method,” INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi, vol. 9, no. 1, pp. 147–157, doi: 10.29407/intensif.v9i1.21191.
[14] N. D. Kurniasari, T. B. Rohman, A. Widianto, A. Shobikah, and G. Triono (2026), “Analisis Faktor Dominan Prediksi Dropout Mahasiswa Menggunakan Random Forest, XGBoost dan XAI,” Jurnal Sains Informatika Terapan, vol. 5, no. 2, doi: 10.62357/jsit.v5i2.1183.
[15] P. S. Saputra (2026), “Analisis Prediktif Dropout Mahasiswa Berdasarkan Kinerja Akademik Semester Awal Menggunakan Machine Learning,” Jurnal Riset dan Aplikasi Mahasiswa Informatika (JRAMI), vol. 7, no. 1, doi: 10.30998/jrami.v7i01.791.
[16] M. T. Anwar and D. R. A. Permana (2021), “Perbandingan Performa Model Data Mining untuk Prediksi Dropout Mahasiwa,” Jurnal Teknologi dan Manajemen, vol. 19, no. 2, pp. 87–94, doi: 10.52330/jtm.v19i2.34.
[17] E. J. Sudarman and S. Budi (2023), “Pengembangan Model Kecerdasan Mesin Extreme Gradient Boosting untuk Prediksi Keberhasilan Studi Mahasiswa,” Jurnal STRATEGI, vol. 5, no. 2, pp. 297–314.
[18] A. Ramadhani, R. F. Noor, D. Vernanda, and T. Herdiawan (2024), “Klasifikasi Mahasiswa Berpotensi Drop Out Menggunakan Algoritma C4.5 di Politeknik Negeri Subang,” Jurnal Tekno Kompak, vol. 18, no. 1, pp. 101–112, doi: 10.33365/jtk.v18i1.3439.
Published
2026-08-24
How to Cite
KESUMA, Chandra; HANDAYANI, Vembria Rose. Student Dropout Prediction Using XGBoost and Explainable AI (SHAP): A Case Study of Portuguese Student Dataset. International Journal of Informatics, Economics, Management and Science, [S.l.], v. 5, n. 2, p. 180-198, aug. 2026. ISSN 2809-8471. Available at: <https://journal.stmikjayakarta.ac.id/index.php/ijiems/article/view/2649>. Date accessed: 30 aug. 2026. doi: https://doi.org/10.52362/ijiems.v5i2.2649.

Most read articles by the same author(s)

Obs.: This plugin requires at least one statistics/report plugin to be enabled. If your statistics plugins provide more than one metric then please also select a main metric on the admin's site settings page and/or on the journal manager's settings pages.