Predicting Student Loyalty in Higher Education Using Machine Learning: A Random Forest Approach
Abstract
Student loyalty is a crucial factor supporting the sustainability of higher education institutions. The aim of this study is to predict student loyalty using a machine learning approach, specifically the random forest algorithm. The data for this research were collected through a questionnaire that included variables such as service quality, emotional attachment, brand satisfaction, brand trust, and socio-economic conditions, distributed to 107 students in Palembang. The resulting dataset was processed through preprocessing, model training, and performance evaluation, employing metrics such as accuracy, precision, recall, and F1-score. The analysis using the random forest algorithm achieved an accuracy of 90.9%. These findings are expected to provide valuable insights for higher education institutions in developing more effective strategies to enhance student loyalty.
Downloads
References
I. Snijders, L. Wijnia, R. M. J. P. Rikers, and S. M. M. Loyens, ‘Alumni loyalty drivers in higher education’, Soc. Psychol. Educ., vol. 22, no. 3, pp. 607–627, 2019, doi: 10.1007/s11218-019-09488-4.
S. Todea, A. A. Davidescu, N. A. Pop, and T. Stamule, ‘Determinants of Student Loyalty in Higher Education: A Structural Equation Approach for the Bucharest University of Economic Studies, Romania’, Int. J. Environ. Res. Public Health, vol. 19, no. 9, 2022, doi: 10.3390/ijerph19095527.
L. J. Wong, P. S. Ling, and T. H. Y. Ling, ‘A conceptual framework for higher education student loyalty from the green marketing perspective’, High. Educ. Ski. Work. Learn., vol. 13, no. 2, pp. 387–402, 2023, doi: 10.1108/HESWBL-08-2022-0165.
T. T. Borishade, O. O. Ogunnaike, O. Salau, B. D. Motilewa, and J. I. Dirisu, ‘Assessing the relationship among service quality, student satisfaction and loyalty: the NIGERIAN higher education experience’, Heliyon, vol. 7, no. 7, p. e07590, 2021, doi: https://doi.org/10.1016/j.heliyon.2021.e07590.
I. Snijders, L. Wijnia, R. M. J. P. Rikers, and S. M. M. Loyens, ‘Building bridges in higher education: Student-faculty relationship quality, student engagement, and student loyalty’, Int. J. Educ. Res., vol. 100, Jan. 2020, doi: 10.1016/j.ijer.2020.101538.
S. I. Q. I. LI and D. LI, ‘Research on Personalized Learning Recommendation System Based on Machine Learning Algorithm’, Scalable Comput., vol. 26, no. 1, pp. 432–440, 2025, doi: 10.12694/scpe.v26i1.3844.
M. Muhairat, W. Alzyadat, A. Shaheen, A. Alhroob, and A. Nasser Asfour, ‘Leveraging Machine Learning for Predictive Pathways in Higher Education: A Case Study at Al-Zaytoonah University of Jordan’, SSRG Int. J. Electron. Commun. Eng., vol. 11, no. 11, pp. 28–44, 2024, doi: 10.14445/23488549/IJECE-V11I11P104.
O. Chernikova, M. Stadler, I. Melev, and F. Fischer, ‘Using machine learning for continuous updating of meta-analysis in educational context’, Comput. Human Behav., vol. 156, no. December 2023, p. 108215, 2024, doi: 10.1016/j.chb.2024.108215.
M. Nachouki, E. A. Mohamed, R. Mehdi, and M. Abou Naaj, ‘Student course grade prediction using the random forest algorithm: Analysis of predictors’ importance’, Trends Neurosci. Educ., vol. 33, p. 100214, 2023, doi: 10.1016/j.tine.2023.100214.
M. Nachouki and M. A. Naaj, ‘Predicting Student Performance to Improve Academic Advising Using the Random Forest Algorithm’, Int. J. Distance Educ. Technol., vol. 20, no. 1, pp. 1–17, 2022, doi: 10.4018/IJDET.296702.
A. E. Hooper SE, Ragland N, ‘Random forest models reveal academic and financial factors outweigh demographics in predicting completion of a year-round veterinary program’, J Am Vet Med Assoc, vol. 263, no. (2), pp. 1–9, doi: 10.2460/javma.24.08.0501.
M. Nurdin, ‘Analysis Forecasting Students Using Random Forest and Linear Regression Algorithms’, vol. 8, no. 4, pp. 2369–2376, 2024.
D. Kumar, A. Kothiyal, R. Kumar, C. Hemantha, and R. Maranan, ‘Random Forest approach optimized by the Grid Search process for predicting the dropout students’, 2024 Int. Conf. Innov. Challenges Emerg. Technol. ICICET 2024, pp. 1–6, 2024, doi: 10.1109/ICICET59348.2024.10616372.
G. Petrea, R. A. Puiu, B. C. Mocanu, and O. M. K. Al-Dulaimi, ‘Determining the Degree of Conviction of Students in University Selection Using the Random Forest Algorithm: An Approach for Adaptive and Personalized Decision Support System in Education’, Proc. - RoEduNet IEEE Int. Conf., pp. 1–6, 2024, doi: 10.1109/RoEduNet64292.2024.10722377.
Y. Miao and Y. Xu, ‘Random Forest-Based Analysis of Variability in Feature Impacts’, 2024 IEEE 2nd Int. Conf. Image Process. Comput. Appl. ICIPCA 2024, pp. 1130–1135, 2024, doi: 10.1109/ICIPCA61593.2024.10708791.
S. Todea, A. A. Davidescu, N. A. Pop, and T. Stamule, ‘Determinants of Student Loyalty in Higher Education: A Structural Equation Approach for the Bucharest University of Economic Studies, Romania’, Int. J. Environ. Res. Public Health, vol. 19, no. 9, 2022, doi: 10.3390/ijerph19095527.
S. Huston, E. Huston, and M. Kozlowski, ‘Learning dispositif and emotional attachment: A preliminary international analysis’, Educ. Sci., vol. 9, no. 4, pp. 1–22, 2019, doi: 10.3390/educsci9040279.
S. Aghaei, Y. Shahbazi, M. Pirbabaei, and H. Beyti, ‘A hybrid SEM-neural network method for modeling the academic satisfaction factors of architecture students’, Comput. Educ. Artif. Intell., vol. 4, no. June 2022, p. 100122, 2023, doi: 10.1016/j.caeai.2023.100122.
M. Wati, W. H. Rahmah, N. Novirasari, Haviluddin, E. Budiman, and Islamiyah, ‘Analysis K-Means Clustering to Predicting Student Graduation’, J. Phys. Conf. Ser., vol. 1844, no. 1, 2021, doi: 10.1088/1742-6596/1844/1/012028.
L. Breiman, ‘Random Forest’, Mach. Learn., vol. 45, pp. 5–32, 2001, doi: 10.1007/978-3-030-62008-0_35.
Hong Han; Xiaoling Guo; Hua Yu, ‘Variable selection using Mean Decrease Accuracy and Mean Decrease Gini based on Random Forest’, in 2016 7th IEEE International Conference on Software Engineering and Service Science (ICSESS), China: IEEE, 2016.
H. S. Utomo, H. Sutanto, and R. D. Fadma, ‘The Effect of E-Service Quality on Brand Love : E-Satisfaction as a Mediator’, vol. 0, no. 01, pp. 558–566, 2025, doi: 10.47191/jefms/v8.
S. K. Rajak, ‘Machine Learning Models for Predicting Consumer Behaviour Trends’, vol. 19, no. 10, pp. 674–681, 2021, doi: 10.48047/nq.2021.19.10.NQ21218.
T. T. Borishade, O. O. Ogunnaike, O. Salau, B. D. Motilewa, and J. I. Dirisu, ‘Assessing the relationship among service quality, student satisfaction and loyalty: the NIGERIAN higher education experience’, Heliyon, vol. 7, no. 7. Elsevier Ltd, 2021. doi: 10.1016/j.heliyon.2021.e07590.


Copyright (c) 2025 Journal of Information Systems and Informatics

This work is licensed under a Creative Commons Attribution 4.0 International License.
- I certify that I have read, understand and agreed to the Journal of Information Systems and Informatics (Journal-ISI) submission guidelines, policies and submission declaration. Submission already using the provided template.
- I certify that all authors have approved the publication of this and there is no conflict of interest.
- I confirm that the manuscript is the authors' original work and the manuscript has not received prior publication and is not under consideration for publication elsewhere and has not been previously published.
- I confirm that all authors listed on the title page have contributed significantly to the work, have read the manuscript, attest to the validity and legitimacy of the data and its interpretation, and agree to its submission.
- I confirm that the paper now submitted is not copied or plagiarized version of some other published work.
- I declare that I shall not submit the paper for publication in any other Journal or Magazine till the decision is made by journal editors.
- If the paper is finally accepted by the journal for publication, I confirm that I will either publish the paper immediately or withdraw it according to withdrawal policies
- I Agree that the paper published by this journal, I transfer copyright or assign exclusive rights to the publisher (including commercial rights)