Machine Learning-Based Student Academic Performance Prediction in a Nigerian University Context: A Comparative Evaluation of Classification Algorithms

Authors

Keywords:

Student Performance Prediction, Machine Learning; Random Forest, Educational Data Mining, Explainable AI, Classification Algorithms

Abstract

Academic failure and attrition remain persistent problems in Nigerian higher education, where institutions typically respond only after a student has already failed an examination. Educational data mining has shown that machine learning can flag at risk students early, yet most published work relies on datasets and institutional practices that do not reflect the realities of resource constrained African universities, limiting practical applicability. This study develops and benchmarks a machine learning framework for predicting first-year undergraduate academic outcomes at a single private Nigerian university, comparing six classification algorithms, identifying the most informative predictors, and assessing computational feasibility and fairness for single institution deployment. Six classifiers, Random Forest, XGBoost, LightGBM, Support Vector Machine, Logistic Regression, and k-Nearest Neighbour, were trained on 1,200 student records covering demographics, study habits, socioeconomic indicators, and first-year CGPA. After preprocessing, SMOTE class balancing, and Information Gain feature selection, models were evaluated using accuracy, precision, recall, F1-score, ROC-AUC, and PRAUC, with SHAP values used to interpret feature contributions. Random Forest achieved the highest accuracy (91.3%) and AUCROC (0.947), closely followed by XGBoost (91.1%, 0.945) and LightGBM (90.8%, 0.940); all three ensemble methods substantially outperformed SVM, Logistic Regression, and k-NN. Attendance rate, hours of self-study per day, and internet access were the three most predictive features under both Information Gain and SHAP analysis. A preliminary fairness audit found modestly lower recall for low-income students (81.5%) than high-income students (87.0%). The framework runs on standard institutional hardware without GPU infrastructure, making early-warning deployment computationally feasible for resource-constrained universities. Machine learning can support academic advising as a decision-support tool, though institutional governance, ethical oversight, and further fairness auditing are needed before operational use (SDG 4: Quality Education).

References

[1] National Universities Commission, Annual statistical digest of Nigerian universities 2022/2023. NUC, 2023.

[2] H. Aldowah, H. Al-Samarraie, and W. M. Fauzy, “Educational data mining and learning analytics for 21st century higher education: A review and synthesis,” Telematics Inf., vol. 37, pp. 13-49, 2019. doi: 10.1016/j.tele.2019.01.007

[3] J. L. Rastrollo-Guerrero, J. A. Gomez-Pulido, and A. Duran-Dominguez, “Analyzing and predicting students performance by means of machine learning: A review,” Appl. Sci., vol. 10, no. 3, p. 1042, 2020. doi: 10.3390/app10031042

[4] A. K. Pal and S. Prakash, “Analysis of students academic performance using educational data mining: A case study,” Int. J. Eng. Technol. Manag. Appl. Sci., vol. 5, no. 2, pp. 113-124, 2017.

[5] E. A. Amrieh, T. Hamtini, and I. Aljarah, “Mining educational data to predict students academic performance using ensemble methods,” Int. J. Database Theory Appl., vol. 9, no. 8, pp. 119-136, 2016. doi: 10.14257/ijdta.2016.9.8.13

[6] D. Delen, “Predicting student attrition with data mining methods,” J. Coll. Student Retention, vol. 13, no. 1, pp. 17-35, 2011. doi: 10.2190/CS.13.1.b

[7] V. O. Oladokun, A. T. Adebanjo, and O. E. Charles-Owaba, “Predicting students academic performance using artificial neural network,” Pac. J. Sci. Technol., vol. 9, no. 1, pp. 72-79, 2008.

[8] E. A. Ekubo and B. M. Esiefarienrhe, “Using machine learning to predict low academic performance at a Nigerian university,” Afr. J. Inf. Commun., vol. 30, pp. 1-33, 2022. doi: 10.23962/ajic.i30.14839

[9] M. Maphosa, W. Doorsamy, and B. Paul, “Improving academic advising in engineering education with machine learning using a real-world dataset,” Algorithms, vol. 17, no. 2, p. 85, 2024. doi: 10.3390/a17020085

[10] M. Niazkar, B. Abbasi, and N. Pirayesh, “Predicting student academic performance using machine learning: A systematic review,” Educ. Inf. Technol., vol. 29, pp. 6679-6725, 2024. doi: 10.1007/s10639-023-12003-3

[11] M. Hussain, W. Zhu, W. Zhang, and S. M. R. Abidi, “Student engagement predictions in an e-learning system,” Comput. Intell. Neurosci., vol. 2018, Art. no. 6347186, 2018. doi: 10.1155/2018/6347186

[12] N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, “SMOTE: Synthetic minority oversampling technique,” J. Artif. Intell. Res., vol. 16, pp. 321-357, 2002. doi: 10.1613/jair.953

[13] A. Kord, A. Aboelfetouh, and S. M. Shohieb, “Academic course planning recommendation and students performance prediction multi-modal based on educational data mining techniques,” J. Comput. High. Educ., vol. 38, pp. 38-76, 2025. doi: 10.1007/s12528-024-09426-0

[14] S. Helal, J. Li, L. Liu, E. Ebrahimie, S. Dawson, and D. J. Murray, “Predicting academic performance by considering student heterogeneity,” Knowledge-Based Systems, vol. 161, pp. 134-146, 2018. doi: 10.1016/j.knosys.2018.07.042

[15] A. O. Adejo and T. Connolly, “Predicting student academic performance using multi-model datasets: A machine learning approach,” Appl. Artif. Intell., vol. 32, no. 2, pp. 139-157, 2018. doi: 10.1080/08841514.2018.1441074

[16] R. F. Kizilcec and H. Lee, “Algorithmic fairness in education,” in Proc. Seventh ACM Conf. Learning @ Scale, 2020, pp. 1-10. doi: 10.1145/3386527.3405924

[17] S. M. Lundberg and S. I. Lee, “A unified approach to interpreting model predictions,” in Advances in Neural Information Processing Systems 30 (NIPS 2017), pp. 4765-4774, 2017.

[18] S. Hakkal and A. A. Lahcen, “XGBoost to enhance learner performance prediction,” Comput. Educ.: Artif. Intell., vol. 7, Art. no. 100254, 2024. doi: 10.1016/j.caeai.2024.100254

[19] Y. A. Alsariera, “Assessment and evaluation of different machine learning algorithms for predicting student performance,” Comput. Intell. Neurosci., vol. 2022, Art. no. 4151487, 2022. doi: 10.1155/2022/4151487

[20] G. D. Kuh, The National Survey of Student Engagement: Conceptual framework and overview of psychometric properties, Indiana University, Bloomington, 2001.

[21] P. R. Pintrich, D. A. F. Smith, T. Garcia, and W. J. McKeachie, A manual for the use of the Motivated Strategies for Learning Questionnaire (MSLQ), University of Michigan, 1991.

[22] M. Tavakol and R. Dennick, “Making sense of Cronbachs alpha,” Int. J. Med. Educ., vol. 2, pp. 53-55, 2011. doi: 10.5116/ijme.4dfb.8dfd

[23] R. J. Fisher, “Social desirability bias and the validity of indirect questioning,” J. Consum. Res., vol. 20, no. 2, pp. 303-315, 1993. doi: 10.1086/209351

Additional Files

Published

16-07-2026

How to Cite

Mamudu, F., Taiwo, T., & Folaranmi, R. (2026). Machine Learning-Based Student Academic Performance Prediction in a Nigerian University Context: A Comparative Evaluation of Classification Algorithms. International Journal of Research in Computing, 5(2), 67–81. Retrieved from https://ijrcom.org/index.php/ijrc/article/view/244