journal article·2025-03-29Open access

Automated Classification Model for Elementary Mathematics Diagnostic Assessment Data Based on TF-IDF and XGBoost

Seonghyun Park, Seungmin Oh, Woncheol Park

Applied Sciences· Volume 15· Issue 7

Abstract

With the increasing emphasis on personalized learning, there is a growing demand for automated systems that analyze individual students’ learning states and provide effective feedback. This study proposes a system that analyzes elementary school mathematics diagnostic assessment data to generate personalized feedback. The proposed system integrates Term Frequency-Inverse Document Frequency (TF-IDF) and eXtreme Gradient Boosting (XGBoost) to vectorize textual data and automatically classify learning error patterns. The study utilizes 15,000 diagnostic assessment records collected from 2020 to 2024. After preprocessing, TF-IDF was employed to extract relevant features, and XGBoost was used to train a classification model. To validate the model’s performance, comparative experiments were conducted with Logistic Regression, Support Vector Machine (SVM), LightGBM, BERT, and DistilBERT. The TF-IDF + XGBoost model achieved an accuracy of 98.85% and an F1 Score of 0.9860, outperforming other models. Furthermore, the system demonstrated an average real-time processing speed of 1.3 s, ensuring instant feedback in educational settings. This study highlights the automation and scalability of educational data analysis, suggesting potential applications across various subjects and grade levels.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Educational Technology and Assessment

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Engineering, Kongju National University, Cheonan 31080, Republic of Korea

References (36)

Show source-provided references
1. Validation of the effectiveness of AI-Based Personalized Adaptive Learning: Focusing on basic math class cases
2. A Study on the Effects and Participant Perception of Classes Applying Artificial Intelligence-Based Personalized Learning
3. Proliferation of Online Learning and the Implications for Teaching and Learning in Future University Education10.26857/JLLS.2018.11.14.4.51 ↗
4. Learning analytics: Challenges and limitations
5. Siemens, G., and Baker, R.S.J.D. (May, January 29). Learning analytics and educational data mining: Towards communication and collaboration. Proceedings of the 2nd International Conference on Learning Analytics and Knowledge, Vancouver, BC, Canada.
6. The State of Educational Data Mining in 2009: A Review and Future Visions
7. In search for the most informative data for feedback generation: Learning analytics in a data-rich context10.1016/j.chb.2014.05.038 ↗
8. Let’s not forget: Learning analytics are about learning10.1007/s11528-014-0822-x ↗
9. Educational Data Mining: A Review of the State of the Art
10. Application Development for Text Mining: KoALA, Information Systems Review
11. Measuring patent’s influence on technological evolution: A study of knowledge spanning and sub-sequent inventive activity10.1016/j.respol.2014.10.003 ↗
12. Text Mining to Understand Disease-Causing Gene Variants10.3390/knowledge4030023 ↗
13. A Proposal of Join Vector for Semantic Factor Reflection in TF-IDF Based Keyword Extraction
14. A study on Korean language processing using TF-IDF
15. A Study on Development of Patent Information Retrieval Using Textmining
16. Study on Extraction of Keywords Using TF-IDF and Text Structure of Novels
17. A Clustering Technique Using Association Rules for The Library and Information Science Terminology
18. A Study on Differences of Contents and Tones of Arguments among Newspapers Using Text Mining Analysis
19. Text mining re-sources for the life sciences
20. Shounak, P., Baidyanath, B., Rohit, G., Ajay, K., and Shivam, G. (2023). Exploring the factors that affect user experience in mobile-health applications: A text-mining and machine-learning approach. J. Bus. Res., 156.10.1016/j.jbusres.2022.113484 ↗
21. Conti, D., Gomez, C.E., Jaramillo, J.G., and Ospina, V.E. (2023). Monitoring the Quality and Perception of Service in Colombian Pub-lic Service Companies with Twitter and Descriptive Temporal Analysis. Appl. Sci., 13.10.20944/preprints202305.0389.v1 ↗
22. Youm, D., and Kim, J. (2022). Text Mining Approach to Improve Mobile Role Playing Games Using Users’ Reviews. Appl. Sci., 12.10.3390/app12126243 ↗
23. Text Mining Based Approach for Customer Sentiment and Product Competitiveness Using Composite Online Review Data10.3390/jtaer19030087 ↗
24. Hot Topic Prediction Scheme Using Modified TF-IDF in Social Network Environments10.5626/KTCP.2017.23.4.217 ↗
25. Duchateau, F. (2011, January 11–16). Who can best answer a query in my social network?. Proceedings of the 2011 IEEE 27th International Conference on Data Engineering Workshops, Hannover, Germany.10.1109/ICDEW.2011.5767663 ↗
26. A study of predicting irradiation-induced transition temperature shift for RPV steels with XGBoost modeling10.1016/j.net.2021.02.015 ↗
27. ConvXGB: A new deep learning model for classification problems based on CNN and XGBoost10.1016/j.net.2020.04.008 ↗
28. Comparison and Optimization of Machine Learning Regression Models for Predicting Electromagnetic Radiation Exposure in Patients Undergoing Coronary Angiography10.4283/JMAG.2024.29.4.487 ↗
29. Chen, T., and Guestrin, C. (2016, January 13–17). XGBoost: A Scalable Tree Boosting System. KDD ’16. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
30. Vu, D.T., Thai An, L.B., Kim, J.Y., and Yu, G.H. (2023). Towards Feasible Capsule Network for Vision Tasks. Appl. Sci., 13.10.3390/app131810339 ↗
31. Predicting the association between metabolic syndrome and chronic kidney disease using the XGBoost model
32. Zhang, J., Wang, R., Jia, A., and Feng, N. (2024). Optimization and Application of XGBoost Logging Prediction Model for Porosity and Permeability Based on K-means Method. Appl. Sci., 14.10.3390/app14103956 ↗
33. Saki, A., Faghihi, U., and Baldé, I. (2024). Differentiating Gliosarcoma from Glioblastoma: A Novel Approach Using PEACE and XGBoost to Deal with Datasets with Ultra-High Dimensional Confounders. Life, 14.10.20944/preprints202405.1505.v1 ↗
34. Xia, Y., Jiang, S., Meng, L., and Ju, X. (2024). XGBoost-B-GHM: An Ensemble Model with Feature Selection and GHM Loss Function Optimization for Credit Scoring. Systems, 12.10.3390/systems12070254 ↗
35. Development of Deep Learning-Based Detection Model for Borehole Breakout Depths in Image Logs10.32390/ksmer.2024.61.6.468 ↗
36. A study on KOSPI 200 direction forecasting using XGBoost model