Explainable Artificial Intelligence for Student Academic Performance Prediction Using Random Forest and SHAP

Penulis

  • Wahyu Nugraha Universitas Bina Sarana Informatika Author
  • Rabiatus Sa’adah Universitas Bina Sarana Informatika Author
  • Muhammad Hasanuddin Universitas Pembangunan Panca Budi Author

DOI:

https://doi.org/10.64803/jocsaic.v3i1.174

Kata Kunci:

Explainable Artificial Intelligence, Random Forest, SHAP, Student Academic Performance, Educational Data Mining

Abstrak

Predicting student academic performance has become an important application of educational data mining because it enables educational institutions to identify students who require academic support at an early stage. Although machine learning algorithms have demonstrated high predictive capability, many predictive models operate as black-box systems, making it difficult for educators to understand the factors influencing prediction outcomes. This study proposes an Explainable Artificial Intelligence (XAI) framework for student academic performance prediction by integrating the Random Forest algorithm with SHapley Additive exPlanations (SHAP). The proposed methodology consists of data collection, data preprocessing, feature selection, model development, performance evaluation, and model interpretation. Random Forest was employed as the primary classification algorithm due to its robustness and high predictive performance, while SHAP was utilized to provide transparent explanations of both global and local prediction results. The experimental evaluation demonstrated that the proposed model achieved high classification performance, obtaining an accuracy of 91.67%, precision of 90.32%, recall of 93.33%, and an F1-score of 91.80%. Furthermore, SHAP analysis identified Previous GPA, Final Examination Score, Attendance, Assignment Score, and Study Hours as the most influential factors affecting student academic performance. The integration of Random Forest and SHAP not only improves prediction reliability but also enhances model transparency by explaining the contribution of each feature to prediction outcomes. Consequently, the proposed framework supports evidence-based academic decision-making, facilitates early identification of at-risk students, and provides educators with interpretable insights for designing effective academic intervention strategies. These findings demonstrate that Explainable Artificial Intelligence can significantly improve the practical applicability and trustworthiness of machine learning models in educational environments.

Referensi

[1] P. S. Aithal and S. Aithal, “Predictive Analysis on Future Impact of Ubiquitous Education Technology in Higher Education and Research,” Int. J. Appl. Eng. Manag. Lett., vol. 7, no. 3, pp. 88–108, 2023, doi: https://doi.org/10.47992/ijaeml.2581.7000.0190.

[2] K. I. B. Qolamani and M. M. Mohammed, “The Digital Revolution in Higher Education: Transforming Teaching and Learning,” QALAMUNA J. Pendidikan, Sos. dan Agama, vol. 15, no. 2, pp. 837–846, Oct. 2023, doi: https://doi.org/10.37680/qalamuna.v15i2.3905.

[3] M. Kayumova, S. Akbarova, M. Azizova, I. Hojiyeva, F. Karimova, and F. Makhmudova, “Data Driven Teaching and Real Time Decision Making in Education Management,” in Proceedings of the 8th International Conference on Future Networks & Distributed Systems, New York, NY, USA: ACM, Dec. 2024, pp. 756–763. doi: https://doi.org/10.1145/3726122.3726232.

[4] Y. S. Balcioğlu and M. Artar, “Predicting academic performance of students with machine learning,” Inf. Dev., vol. 41, no. 3 Special Issue: “Artificial Intelligence initiatives”, pp. 896–915, 2025, doi: https://doi.org/10.1177/02666669231213023.

[5] I. Issah, O. Appiah, P. Appiahene, and F. Inusah, “A systematic review of the literature on machine learning application of determining the attributes influencing academic performance,” Decis. Anal. J., vol. 7, p. 100204, Jun. 2023, doi: https://doi.org/10.1016/j.dajour.2023.100204.

[6] A. D. Riyanto, A. M. Wahid, and A. A. Pratiwi, “ANALYSIS OF FACTORS DETERMINING STUDENT SATISFACTION USING DECISION TREE, RANDOM FOREST, SVM, AND NEURAL NETWORKS: A COMPARATIVE STUDY,” J. Tek. Inform., vol. 5, no. 4, pp. 187–196, Jul. 2024, doi: https://doi.org/10.52436/1.jutif.2024.5.4.2188.

[7] Sana Fatima, Ayan Hussain, Sohaib Bin Amir, Muhammad Gulraiz Zahid Awan, Syed Haseeb Ahmed, and Syed Muhammad Huzaifa Aslam, “XGBoost and Random Forest Algorithms: An in Depth Analysis,” Pakistan J. Sci. Res., vol. 3, no. 1, pp. 26–31, Jul. 2023, doi: https://doi.org/10.57041/vol3iss1pp26-31.

[8] B. H. Hayadi and T. Hariguna, “Predictive Analytics in Mobile Education: Evaluating Logistic Regression, Random Forest, and Gradient Boosting for Course Completion Forecasting,” Int. J. Interact. Mob. Technol. , vol. 19, no. 5, pp. 210–232, 2025, doi: https://doi.org/10.3991/ijim.v19i05.52381.

[9] B. Charbuty and A. Abdulazeez, “Classification Based on Decision Tree Algorithm for Machine Learning,” J. Appl. Sci. Technol. Trends, vol. 2, no. 01, pp. 20–28, Mar. 2021, doi: https://doi.org/10.38094/jastt20165.

[10] J. Petch, S. Di, and W. Nelson, “Opening the Black Box: The Promise and Limitations of Explainable Machine Learning in Cardiology,” Can. J. Cardiol., vol. 38, no. 2, pp. 204–213, Feb. 2022, doi: https://doi.org/10.1016/j.cjca.2021.09.004.

[11] A. Stevens and J. De Smedt, “Explainability in process outcome prediction: Guidelines to obtain interpretable and faithful models,” Eur. J. Oper. Res., vol. 317, no. 2, pp. 317–329, Sep. 2024, doi: https://doi.org/10.1016/j.ejor.2023.09.010.

[12] Arunraju Chinnaraju, “Explainable AI (XAI) for trustworthy and transparent decision-making: A theoretical framework for AI interpretability,” World J. Adv. Eng. Technol. Sci., vol. 14, no. 3, pp. 170–207, Mar. 2025, doi: https://doi.org/10.30574/wjaets.2025.14.3.0106.

[13] S. Wang and B. Luo, “Academic achievement prediction in higher education through interpretable modeling,” PLoS One, vol. 19, no. 9, p. e0309838, Sep. 2024, doi: https://doi.org/10.1371/journal.pone.0309838.

[14] Y. Huang, Y. Zhou, J. Chen, and D. Wu, “Applying Machine Learning and SHAP Method to Identify Key Influences on Middle-School Students’ Mathematics Literacy Performance,” J. Intell., vol. 12, no. 10, p. 93, Sep. 2024, doi: https://doi.org/10.3390/jintelligence12100093.

[15] D. M. Gezgin and E. Efeoğlu, “Using Explainable Artificial Intelligence to Predict Internet Addiction in Turkish University Students,” Int. J. Human–Computer Interact., vol. 42, no. 4, pp. 2012–2034, Feb. 2026, doi: https://doi.org/10.1080/10447318.2025.2526587.

Diterbitkan

2026-05-31

Terbitan

Bagian

Articles

Cara Mengutip

Explainable Artificial Intelligence for Student Academic Performance Prediction Using Random Forest and SHAP. (2026). Journal of Computer Science, Artificial Intelligence and Communications, 3(1), 10−19. https://doi.org/10.64803/jocsaic.v3i1.174