PREDICTIVE MODELING USING MACHINE LEARNING FOR STUDENT ACADEMIC PERFORMANCE ANALYSIS
Predicting student academic performance early enough to intervene remains a central problem in educational data mining. Most published models report high accuracy, yet many rely on prior-period grades, are evaluated on a single train-test split, and leave model behaviour unexplained. This study builds and compares predictive models for student pass/fail outcomes using the public Student Performance dataset (n = 395 secondary-school students, 30 demographic, social, and school-related attributes). Nine algorithms (logistic regression, decision tree, k-nearest neighbours, naïve Bayes, support vector machine, random forest, gradient boosting, XGBoost, and LightGBM) were evaluated with stratified 10-fold cross-validation across three information scenarios: no prior grades (S1), first-period grade (S2), and first- and second-period grades (S3). A multilayer perceptron tuned with Bayesian optimization was assessed in a nested cross-validation design, and SHAP values were used to interpret the best tree ensemble. Without prior grades, the best models reached about 68% accuracy (AUC 0.68). Adding the first-period grade raised accuracy to 83.8% (random forest; AUC up to 0.927), and both period grades yielded 92.9% (logistic regression; AUC 0.979). Bayesian optimization improved MLP accuracy in S1 from 63.8% to 70.4% (Wilcoxon p = 0.012). Past class failures, absences, and going out with friends were the strongest non-grade predictors. The findings show that the timing of available information, rather than algorithm complexity, governs predictive value.
Downloads
- Adedeji, O., Asanre, A., Omilabu, A. A., Odulaja, G., Abimbola, B., Nosiru, S. O., & Osofuye, O. (2026). Early prediction of student academic performance using machine learning. Indonesian Journal of Pedagogy and Teacher Education, 4(1). https://doi.org/10.58723/ijopate.v4i1.625
- Ahmed, E. (2024). Student performance prediction using machine learning algorithms. Applied Computational Intelligence and Soft Computing, 2024, Article 4067721. https://doi.org/10.1155/2024/4067721
- Ahmed, W., Wani, M. A., Pławiak, P., Meshoul, S., Mahmoud, A., & Hammad, M. (2025). Machine learning-based academic performance prediction with explainability for enhanced decision-making in educational institutions. Scientific Reports, 15. https://doi.org/10.1038/s41598-025-12353-4
- Albreiki, B., Zaki, N., & Alashwal, H. (2021). A systematic literature review of student' performance prediction using machine learning techniques. Education Sciences, 11(9), Article 552. https://doi.org/10.3390/educsci11090552
- Alsariera, Y. A., Baashar, Y., Alkawsi, G., Mustafa, A., Alkahtani, A. A., & Ali, N. (2022). Assessment and evaluation of different machine learning algorithms for predicting student performance. Computational Intelligence and Neuroscience, 2022, Article 4151487. https://doi.org/10.1155/2022/4151487
- Balaji, P., Alelyani, S., Qahmash, A., & Mohana, M. (2021). Contributions of machine learning models towards student academic performance prediction: A systematic review. Applied Sciences, 11(21), Article 10007. https://doi.org/10.3390/app112110007
- 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, 905–971. https://doi.org/10.1007/s10639-022-11152-y
- Eldamnhoury, Z. M., El-Monayer, G., Enan, N., El-Ghamry, A., Fouad, K., & Moawad, I. (2023). Prediction of student performance using machine learning techniques. In 2023 5th Novel Intelligent and Leading Emerging Sciences Conference (NILES) (pp. 333–338). IEEE. https://doi.org/10.1109/NILES59815.2023.10296766
- Gadzama, W., Ugbowu, O. S., & Dalhatu, L. B. (2026). Predictive model for students' academic performance using machine learning approach. Computing and Artificial Intelligence. https://doi.org/10.59400/cai4181
- Hidayat, A., Maharani, S., Pratama, D., Ramadiani, R., Sujito, S., Septyawan, A., & Sjuchro, D. (2026). Predicting student academic success using machine learning models: A learning analytics approach in higher education. Daengku: Journal of Humanities and Social Sciences Innovation. https://doi.org/10.35877/454RI.daengku4881
- Hussain, S., & Khan, M. Q. (2023). Student-Performulator: Predicting students' academic performance at secondary and intermediate level using machine learning. Annals of Data Science, 10, 637–655. https://doi.org/10.1007/s40745-021-00341-0
- Kala, A., Torkul, O., Yildiz, T. T., & Selvi, I. H. (2024). Early prediction of student performance in face-to-face education environments: A hybrid deep learning approach with XAI techniques. IEEE Access, 12, 191635–191649. https://doi.org/10.1109/ACCESS.2024.3516816
- Kaur, H., Kaur, T., & Garg, R. (2023). A prediction model for online student academic performance using machine learning. Informatica, 47(1). https://doi.org/10.31449/inf.v47i1.4297
- Marín, Y. R., Quiñones Huatangari, L., Tuesta, J. N. A., Caro, O. C., Maicelo Guevara, J. L., Bardales, E. S., & Santos, R. (2025). Analysis of factors affecting the academic performance of university students using machine learning. Scientific Reports, 15. https://doi.org/10.1038/s41598-025-28870-1
- Martey, E. M., Abdullah, A., & Appiah, O. (2024). Predicting student academic performance using an optimised regression machine learning model. In 2024 IEEE 9th International Conference on Adaptive Science and Technology (ICAST) (Vol. 9, pp. 1–7). IEEE. https://doi.org/10.1109/ICAST61769.2024.10856498
- Ojajuni, O., Ayeni, F., Akodu, O., Ekanoye, F., Adewole, S., Ayo, T., Misra, S., & Mbarika, V. (2021). Predicting student academic performance using machine learning. In Computational Science and Its Applications – ICCSA 2021 (pp. 481–491). Springer. https://doi.org/10.1007/978-3-030-87013-3_36
- Pulagam, S., Artham, R. S. A., Khan, M., & Copus, B. (2026). Predicting student academic performance using machine learning techniques. In 2026 IEEE 2nd International Conference on Secure IoT, Assured and Trusted Computing (SATC) (pp. 1–5). IEEE. https://doi.org/10.1109/SATC69565.2026.11542509
- Sah, A., Azhari, L., Shalahudin, M. I., Borman, R. I., & Jusman, Y. (2025). Enhancing multi-layer perceptron with Bayesian optimization for coffee leaf disease classification. In 2025 5th International Conference on Electronic and Electrical Engineering and Intelligent System (ICE3IS). IEEE. https://doi.org/10.1109/ICE3IS66769.2025.11281129
- Sandeepa, A., & Mohottala, S. (2025). Evaluation of machine learning models in student academic performance prediction. In 2025 5th International Conference on Advanced Research in Computing (ICARC) (pp. 1–6). IEEE. https://doi.org/10.1109/ICARC64760.2025.10963104
- Sayed, A., Arafa, M., El-Nimr, N., Banawan, K., & Abdou, M. (2025). Comparison of machine learning classification and regression models for prediction of academic performance among postgraduate public health students. Scientific Reports, 15. https://doi.org/10.1038/s41598-025-31023-z
- Suaza-Medina, M., Peñabaena-Niebles, R., & Jubiz-Diaz, M. (2024). A model for predicting academic performance on standardised tests for lagging regions based on machine learning and Shapley additive explanations. Scientific Reports, 14. https://doi.org/10.1038/s41598-024-76596-3
- Thamilselvan, R., Rajalaxmi, R., Gothai, E., Tabitha, M., Kirutheeswaran, M., & Logeshwaran, M. (2024). Forecasting students academic achievement using machine learning techniques. In 2024 2nd International Conference on Artificial Intelligence and Machine Learning Applications (AIMLA) (pp. 1–6). IEEE. https://doi.org/10.1109/AIMLA59606.2024.10531560
- Tin, T.-T., Hock, L., & Ikumapayi, O. (2024). Educational big data mining: Comparison of multiple machine learning algorithms in predictive modelling of student academic performance. International Journal of Advanced Computer Science and Applications, 15(6). https://doi.org/10.14569/IJACSA.2024.0150664
- Yağcı, M. (2022). Educational data mining: Prediction of students' academic performance using machine learning algorithms. Smart Learning Environments, 9, Article 11. https://doi.org/10.1186/s40561-022-00192-z
- Zhao, L., Ren, J., Zhang, L., & Zhao, H. (2023). Quantitative analysis and prediction of academic performance of students using machine learning. Sustainability, 15(16), Article 12531. https://doi.org/10.3390/su151612531