Comparing Five Machine Learning Algorithms for Classifying Student Academic Risk from Socio-economic and Academic Attributes
DOI:
https://doi.org/10.23917/ieltech.20066Keywords:
academic risk, dropout prediction, educational data mining, explainable artificial intelligence, statistical model comparisonAbstract
Student dropout remains a persistent challenge in higher education, prompting institutions to use machine learning to identify at-risk students early. This study compares logistic regression, support vector machines (SVM), Gaussian naïve Bayes, random forest, and XGBoost to classify academic risk using socioeconomic and academic attributes. The Predict Students’ Dropout and Academic Success dataset from the UCI Machine Learning Repository was used. After removing the Enrolled category and mapping Graduate to Safe and Dropout to At Risk, 3,630 records remained: 2,209 Safe (60.9%) and 1,421 At Risk (39.1%). Data were divided using an 80:20 stratified split. Mutual-information feature selection (k = 15) was performed within the cross-validation loop to prevent test-data leakage. Models were optimized through grid search and evaluated using repeated stratified five-fold cross-validation with five repetitions and a held-out test set with bootstrap 95% confidence intervals. Statistical comparisons used McNemar’s exact test, DeLong’s test, and Nadeau–Bengio corrected paired t-tests with Holm correction. SVM achieved the highest test accuracy (0.9408) and F1-score (0.9214), whereas XGBoost obtained the highest AUC-ROC (0.9707) and cross-validated accuracy (0.9048 ± 0.0110). Gaussian naïve Bayes performed worst (F1 = 0.8143). After correction, logistic regression, SVM, random forest, and XGBoost showed no significant differences, while Gaussian naïve Bayes was significantly inferior to all four (p < 0.001). Feature and SHAP analyses identified second-semester curricular units approved, tuition-payment timeliness, and scholarship status as dominant predictors. However, reliance on second-semester outcomes limits early-warning applicability.
Downloads
References
Aina, C., Baici, E., Casalone, G., & Pastore, F. (2022). The determinants of university dropout: A review of the socio-economic literature. Socio-Economic Planning Sciences, 79, Article 101102. https://doi.org/10.1016/j.seps.2021.101102
Albugami, S., Almagrabi, H., & Wali, A. (2024). From data to decision: Machine learning and explainable AI in student dropout prediction. Journal of e-Learning and Higher Education, 2024, Article 246301. https://doi.org/10.5171/2024.246301
Batool, S., Rashid, J., Nisar, M. W., Kim, J., Kwon, H. Y., & Hussain, A. (2023). Educational data mining to predict students’ academic performance: A survey study. Education and Information Technologies, 28(1), 905–971. https://doi.org/10.1007/s10639-022-11152-y
Carballo-Mendívil, B., Arellano-González, A., Ríos-Vázquez, N. J., & Lizardi-Duarte, M. del P. (2025). Predicting student dropout from day one: XGBoost-based early warning system using pre-enrollment data. Applied Sciences, 15(16), Article 9202. https://doi.org/10.3390/app15169202
DeLong, E. R., DeLong, D. M., & Clarke-Pearson, D. L. (1988). Comparing the areas under two or more correlated receiver operating characteristic curves: A nonparametric approach. Biometrics, 44(3), 837–845. https://doi.org/10.2307/2531595
Dietterich, T. G. (1998). Approximate statistical tests for comparing supervised classification learning algorithms. Neural Computation, 10(7), 1895–1923. https://doi.org/10.1162/089976698300017197
Holm, S. (1979). A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2), 65–70.
Kumar, M., Singh, N., Wadhwa, J., Singh, P., Kumar, G., & Qtaishat, A. (2024). Utilizing random forest and XGBoost data mining algorithms for anticipating students’ academic performance. International Journal of Modern Education and Computer Science, 16(2), 29–44. https://doi.org/10.5815/ijmecs.2024.02.03
Liu, Z., Zhou, X., & Liu, Y. (2025). Student dropout prediction using ensemble learning with SHAP-based explainable AI analysis. Journal of Social Systems and Policy Analysis, 2(3), 111–132. https://doi.org/10.62762/JSSPA.2025.321501
Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In I. Guyon, U. von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, & R. Garnett (Eds.), Advances in Neural Information Processing Systems 30 (pp. 4765–4774). Curran Associates.
Mauricio, D. (2025). Factors, prediction, explainability, and simulating university dropout through machine learning: A systematic review, 2012–2024. Computation, 13(8), Article 198. https://doi.org/10.3390/computation13080198
Mduma, N. (2023). Data balancing techniques for predicting student dropout using machine learning. Data, 8(3), Article 49. https://doi.org/10.3390/data8030049
Miranda, E. (2024). Machine learning’s model-agnostic interpretability on the prediction of students’ academic performance in video-conference-assisted online learning during the Covid-19 pandemic. Computers and Education: Artificial Intelligence, 7, Article 100312. https://doi.org/10.1016/j.caeai.2024.100312
Nadeau, C., & Bengio, Y. (2003). Inference for the generalization error. Machine Learning, 52(3), 239–281. https://doi.org/10.1023/A:1024068626366
Putra, L. G. R., Prasetya, D. D., & Mayadi, M. (2025). Student dropout prediction using random forest and XGBoost method. INTENSIF: Jurnal Ilmiah Penelitian dan Penerapan Teknologi Sistem Informasi, 9(1), 147–157. https://doi.org/10.29407/intensif.v9i1.21191
Rastrollo-Guerrero, J. L., Gómez-Pulido, J. A., & Durán-Domínguez, A. (2020). Analyzing and predicting students’ performance by means of machine learning: A review. Applied Sciences, 10(3), Article 1042. https://doi.org/10.3390/app10031042
Realinho, V., Martins, M. V., Machado, J., & Baptista, L. (2022). Predicting student dropout and academic success. Data, 7(11), Article 146. https://doi.org/10.3390/data7110146
Downloads
Submitted
Accepted
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Luthfi Hidayat, Hamidah Nur Rochmani, Husna A'izzatur Rohmah, Habib Maulana Syahid, Brillyan Masyaul Lailiyyah

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





