Articles
Chynthia Drinita, Felicia Felicia, Palma Juanta
Chynthia Drinita: Universitas Prima Indonesia ROR iD
Felicia Felicia: Universitas Prima Indonesia ROR iD
Palma Juanta: Universitas Prima Indonesia ROR iD
DOI: 10.58477/cj.v4i2.512 Published: 2026-08-30
4
Volume
2
Issue
2026
Year
0
Total Views
0
Total Downloads
Article Metrics
Abstract

Information systems and machine learning have encouraged the use of academic data to predict student learning outcomes in the education sector. This study evaluated the performance of Support Vector Machine (SVM) and K-Nearest Neighbor (KNN) algorithms in predicting student learning outcomes using the Student Performance in Exams Dataset from Kaggle. A quantitative computational experiment was conducted through several preprocessing stages, including target variable creation, categorical data conversion, feature standardization using StandardScaler, and data splitting into 80% training data and 20% testing data. Model performance was evaluated using accuracy, precision, recall, F1-score, Receiver Operating Characteristic (ROC) curve, and Area Under the Curve (AUC). The results show that SVM achieved an accuracy of 97%, with average precision, recall, and F1-score values of 0.97, while KNN achieved an accuracy of 90% and an F1-score of 0.88. The AUC values of 1.00 for SVM and 0.97 for KNN indicate that both models performed well, although SVM provided better class separation. Therefore, SVM was more effective than KNN in predicting student learning outcomes on the dataset used and may support the development of machine learning-based academic prediction systems.

How to Cite

How to Cite

Drinita, C., Felicia, F., & Juanta, P. (2026). Comparison of Support Vector Machine and K-Nearest Neighbor Methods for Predicting Student Learning Outcomes Based on Student Performance Data. Computer Journal, 4(2), 351-357. https://doi.org/10.58477/cj.v4i2.512
Click "More Citation Formats" for APA, MLA, Chicago, and others.
Issue Information
Volume4
Issue2
Year2026
Published2026-08-30
Pages351-357
SectionArticles
License

This work is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Chynthia Drinita
Universitas Prima Indonesia ROR iD

Bachelor of Information Systems Study Program, Faculty of Science and Technology, Universitas Prima Indonesia, Medan City, North Sumatra Province, Indonesia.

Felicia Felicia
Universitas Prima Indonesia ROR iD

Bachelor of Information Systems Study Program, Faculty of Science and Technology, Universitas Prima Indonesia, Medan City, North Sumatra Province, Indonesia.

Palma Juanta
Universitas Prima Indonesia ROR iD

Bachelor of Information Systems Study Program, Faculty of Science and Technology, Universitas Prima Indonesia, Medan City, North Sumatra Province, Indonesia

Article TitleComparison of Support Vector Machine and K-Nearest Neighbor Methods for Predicting Student Learning Outcomes Based on Student Performance Data
DOI10.58477/cj.v4i2.512
Publication Date2026-08-30
JournalComputer Journal
Volume4
Issue2
Pages351-357
SectionArticles
Abdulwahab, S. H., & Abdulazeez, A. M. (2021). Evaluation of student performance prediction using support vector machine. Journal of Applied Science and Technology Trends, 2(1), 7–12.
Alam, M. A., Sarker, R. K., & Rahman, S. (2021). A machine learning approach to predict student academic performance. Computers & Electrical Engineering, 93, 1–11.
Aljohani, R. A. (2020). Educational data mining: A review of evaluation methods in higher education. Education Sciences, 10(8), 1–22.
Alshammari, M., Alshammari, A., & Aldhaheri, A. (2022). A comparative study of classification algorithms for student performance prediction. IEEE Access, 10, 112345–112357.
Ashraf, A., Ahmed, M. S., & Hasan, S. R. (2020). Student performance prediction using supervised machine learning techniques. International Journal of Advanced Computer Science and Applications, 11(9), 1–8.
Cortez, P. (2021). Student performance dataset: Updated analysis and applications. Data in Brief, 38, 1–7.
Dewi, S. (2022). Implementasi pendidikan di era Society 5.0. Prenadamedia Group.
Dutt, A., Ismail, M. A., & Herawan, T. (2017). A systematic review on educational data mining. IEEE Access, 5, 15991–16005. https://doi.org/10.1109/ACCESS.2017.2654247
El-Halees, H., & Al-Masri, R. (2022). Educational data mining techniques for student performance analysis. Journal of Educational Technology Systems, 50(1), 1–18.
Ertina. (2023). Comparison of decision tree and Naive Bayes methods for classification of satisfaction level of public service mall visitors. JUTIKOMP, 3(3), 1–10.
Hasan, M., Rahman, A. A., & Islam, M. S. (2021). Student academic performance prediction using K-nearest neighbor algorithm. International Journal of Advanced Computer Science and Applications, 12(4), 95–102.
Iqbal, S., Farooq, A., & Hussain, T. (2021). Early prediction of students’ academic performance using data mining techniques. SN Computer Science, 2(6), 1–13.
Jain, P. K., & Sharma, S. (2021). Student performance prediction using KNN and SVM classifiers. International Journal of Engineering Research and Technology, 10(5), 227–232.
Kaur, N., Aggarwal, D., & Gupta, A. (2021). Comparative analysis of machine learning techniques for student performance prediction. Journal of Intelligent Systems, 30(1), 1–14.
Marbouti, F., Diefes-Dux, H. A., & Madhavan, K. (2020). Models for early prediction of student performance using machine learning. Computers & Education, 151, 1–15.
Mishra, A. K., & Singh, D. (2021). Impact of data preprocessing and parameter tuning on student performance prediction. Expert Systems with Applications, 168, 1–12.
Owusu-Boadu, B., Nti, I. K., Nyarko-Boateng, O., Aning, J., & Boafo, V. (2021). Academic performance modelling with machine learning based on cognitive and non-cognitive features. Applied Computer Systems, 26(2), 122–131. https://doi.org/10.2478/acss-2021-0015
Ramesh, S., Parkavi, R., & Ramar, K. (2022). Predicting student academic performance using machine learning algorithms. Journal of Big Data, 9(1), 1–17.
Rastrollo-Guerrero, M., Gómez-Pulido, J. A., & Durán-Domínguez, A. (2020). Analyzing and predicting students’ performance by means of machine learning: A review. Applied Sciences, 10(3), 1042. https://doi.org/10.3390/app10031042
Saleh, A., & Abdullah, N. A. S. (2022). Feature selection and algorithm comparison for student performance prediction. Journal of Big Data, 9(1), 1–18.
Shahiri, A. M., Husain, W., & Rashid, N. A. (2015). A review on predicting student’s performance using data mining techniques. Procedia Computer Science, 72, 414–422. https://doi.org/10.1016/j.procs.2015.12.157
Waheed, S., Hassan, M., & Mahmood, A. (2020). Prediction of academic performance using machine learning algorithms. Education and Information Technologies, 25(6), 1–20.
Article Statistics
Download data is not yet available.
Similar Articles
Firman Pratama, Devi Damayanti, Haekal Mimtazulfaqhi Zaydan, Gilang Ramadhan, M. Hafizh Rafid Hidayat  ·  Computer Journal: Vol. 4 No. 2 (2026): August