Volume 17 (2025) Download Cover Page

Predicting Middle School Students' Academic Orientation Using SOM and Machine Learning

Article Number: e2025376  |  Available Online: August 2025  |  DOI: 10.22521/edupij.2025.17.376

Charaf Tilioui , El Mehdi Bellfkih , Imrane Chems Eddine Idrissi , Khadija El Kababi , Mohamed Radid , Ghizlane Chemsi

Abstract

Background/purpose. Middle school is a critical stage for shaping students' academic paths, but traditional orientation methods often fail to predict suitable trajectories, leading to mismatches that impede success. This study aims to develop a proactive, data-driven framework to forecast academic orientation for middle school students, enhancing tailored educational guidance.

Materials/methods. The study utilized Self-Organizing Maps (SOM) and random forest prediction to analyze data from 720 Moroccan middle school students. In Phase One, survey responses (e.g., interest, self-efficacy) and math/science scores were clustered using a 7x7 SOM grid. In Phase Two, a random forest classifier (150 trees, max depth = 12) was trained on 70% of the data (504 students) with 17 features to predict orientation outcomes, validated with statistical tests (ANOVA, chi-square).

Results. SOM identified five profiles: Cluster 1 had high math scores (Mean = 16.5) and 85% STEM preference; Cluster 3 had lower scores (Mean = 9.5) and 75% literary inclination with anxiety. Random forest achieved 93% training (F1 = 0.92), 89% test (AUC = 0.94), and 87% validated accuracy, predicting 57% scientific and 43% literary tracks. Self-efficacy and math scores predicted scientific paths; anxiety drove literary choices.

Conclusion. This framework outperforms traditional methods, enabling early, personalized orientation. Despite some misclassification, counselor feedback (80% agreement) supports its utility. Future refinements could enhance accuracy and equity in student outcomes.

Keywords: Self-organizing maps, random forest, academic orientation, educational guidance, predictive analytics

References

American Psychological Association. (2020). Publication manual of the American Psychological Association (7th ed.). https://doi.org/10.1037/0000165-000

Baker, R. (2019). Learning analytics and AI in education: Current trends and future directions. Journal of Learning Analytics, 6(1), 5–20. https://doi.org/10.18608/jla.2019.61.2

Bourdieu, P. (1986). The forms of capital. In J. G. Richardson (Ed.), Handbook of theory and research for the sociology of education (pp. 241–258). Greenwood Press.

Brown, S. D., & Lent, R. W. (2002). Career development and counseling: Putting theory and research to work. Journal of Vocational Behavior, 61(3), 123–140. https://doi.org/10.1006/jvbe.2002.1898

Dweck, C. S. (2006). Mindset: The new psychology of success. Random House.

Duckworth, A. L. (2016). Grit: The power of passion and perseverance. Scribner.

Eccles, J. S. (2010). Gender roles and women's achievement-related decisions. Psychology of Women Quarterly, 34(2), 233–243. https://doi.org/10.1111/j.1471-6402.2010.01564.x

Gati, I., & Asulin-Peretz, L. (2013). Career decision-making difficulties: A systematic review. Journal of Career Assessment, 21(1), 3–19. https://doi.org/10.1177/1069072712450076

Kohonen, T. (2001). Self-organizing maps (3rd ed.). Springer. https://doi.org/10.1007/978-3-642-56927-2

Lathauwer, L. (2021). Advanced applications of self-organizing maps in education. Journal of Educational Data Science, 8(3), 56–78.

Lent, R. W., Brown, S. D., & Hackett, G. (2000). Contextual supports and barriers to career choice: A social cognitive analysis. Journal of Counseling Psychology, 47(1), 36–49. https://doi.org/10.1037/0022-0167.47.1.36

Luckin, R. (2018). Machine learning and human intelligence. Educational Psychology, 38(3), 437–448. https://doi.org/10.1080/01443410.2017.1401982

Nguyen, T., & Holmes, W. (2021). The role of machine learning in personalized learning. Educational Technology Research and Development, 69(3), 1211–1234. https://doi.org/10.1007/s11423-021-09988-0

Perna, L. W. (2006). Studying college access and choice: A proposed conceptual model. In J. C. Smart (Ed.), Higher education: Handbook of theory and research (Vol. 21, pp. 99–157). Springer. https://doi.org/10.1007/1-4020-4512-3_3

Reardon, S. F. (2011). The widening academic achievement gap between the rich and the poor. Community Investments, 23(2), 19–39.

Romero, C., & Ventura, S. (2020). Educational data mining: A review of the state of the art. IEEE Transactions on Learning Technologies, 13(2), 225–245. https://doi.org/10.1109/TLT.2019.2949917

Ryan, R. M., & Deci, E. L. (2000). Self-determination theory and the facilitation of intrinsic motivation. American Psychologist, 55(1), 68–78. https://doi.org/10.1037/0003-066X.55.1.68

Savickas, M. L. (2019). Career construction theory and counseling model. The Career Development Quarterly, 68(2), 244–261. https://doi.org/10.1002/cdq.12218

Siemens, G. (2013). Learning analytics: The emergence of a discipline. American Behavioral Scientist, 57(10), 1380–1400. https://doi.org/10.1177/0002764213498851

Tilioui, C., Bellfkih, E. M., Idrissi, I. C., Chemsi, G., El Kababi, K., & Radid, M. (2025). Exploring the impact of student orientation on mathematics learning using self-organizing maps: A study with middle school students. Educational Process International Journal, 14(1). https://doi.org/10.22521/edupij.2025.14.8

Tinto, V. (1993). Leaving college: Rethinking the causes and cures of student attrition (2nd ed.). University of Chicago Press.

Witten, I. H., & Frank, E. (2016). Data mining: Practical machine learning tools and techniques (4th ed.). Morgan Kaufmann.

Zhang, D. (2019). Artificial intelligence in higher education: Challenges and opportunities. Educational Technology Review, 14, 22–34.