Comparative Analysis of K-Nearest Neighbors and Support Vector Machine for Student Stress Prediction
Lutfi Khoirul Umam; Setyoningsih Wibowo; Agung Handayanto · DOAJ Open Access Articles
Abstrak / Ringkasan
Student stress has emerged as an important issue because it can negatively affect both academic achievement and mental well-being. The growing development of machine learning techniques has enabled the creation of predictive models that can classify stress levels using various student-related factors. This research evaluates and compares the effectiveness of the K-Nearest Neighbors (KNN) and Support Vector Machine (SVM) algorithms in predicting student stress categories. The dataset was sourced from Kaggle and contains questionnaire-based data, including variables such as sleep quality, frequency of headaches, academic achievement, study workload, participation in extracurricular activities, and stress level classifications. The study followed several stages, including data preprocessing, feature normalization, model development, and performance assessment. Model evaluation was conducted using accuracy, precision, recall, F1-score, and confusion matrix metrics. To validate the practical implementation of the models, both algorithms were incorporated into a web-based application built with the Flask framework and supported by a MySQL database. The experimental results revealed that the KNN algorithm delivered superior classification performance compared to SVM. KNN obtained an accuracy score of 88.46% and a weighted F1-score of 0.89, whereas SVM achieved 46.15% accuracy with a weighted F1-score of 0.41. These findings suggest that KNN is more effective in identifying patterns within the student survey data. In addition, the successful deployment of the prediction system demonstrates that conventional machine learning methods can be utilized to provide real-time assessments of student stress levels and support mental health monitoring efforts.
Referensi Serupa
Multiple Pathways to the Student’s Brain: An Appropriate Tool to Impact on EFL Learners’ Stress, Anxiety, Depression, and Perceived Supportive Learning Climate
Jila Naeini; Javanshir Asadi; Nasrin Sadat Azami
Machine learning prediction of bile salt export pump inhibition with Boruta feature selection in imbalanced data
Bailang Liu; Yong Liu; Hui Yang; Yang Li; Shanshan Yin; Junnan Wang; Zhikui Cheng; Xin Zhao; Xuejun Zhang; Shu Li; Lifei Liu
Student Performance Prediction Using Machine Learning
Hrutuja Umakant Aher
Hybrid Text Ensemble-MultiEmbed: A Novel Machine Learning Approach for Automated Learning Outcome Prediction
Sapna Rai; Sunil Sikka; Anil Kumar
Global and adaptive split conformal prediction for capacity-constrained Top-K screening: a methodological evaluation using synthetic student performance data
Yu Chao; Nur Fazidah Elias; Yazrina Yahya; Ruzzakiah Jenal; Mo Fan
The dark side of AI in education: AI dependency as a mediator linking academic self-efficacy and teacher support to learning burnout among university students
Qian Huang; Shuang Tu; Jiayuan Lin; Li Lu; Chunlan Lv
Machine learning predicts diabetes risk in high-risk populations: analysis of National Health and Nutrition Examination Survey data
Xiaohua Yang; Meiqi Yao; Jia Huang; Zhuojing Cheng; Ting Sun
Explainable Machine Learning Framework for Predicting Caregiver Employee Productivity and Well-Being
Janani R.; V Muralidharan; M Malini; S Jayas; M Thuslima Nazeerin; U Veeramanikandan
STEAP: Camera-Based Longitudinal Classroom Behavior Sensing and Static–Temporal Data Fusion for Academic Performance Prediction in Software Engineering Education
Jialing Wang; Qikai Lin; Yunhong Ding; Jingyu Liu; Bo Qi
Explainable XGBoost-Based Prediction of Student Reading Interest Using Digital Learning and Reading Behavior Indicators
Delpiah Wahyuningsih; Heki Aprianto; Lili Indah Sari; Wishnu Aribowo Probonegoro; Sri Rahayu; Serly Oktarina
Explainable XGBoost-Based Prediction of Student Reading Interest Using Digital Learning and Reading Behavior Indicators
Delpiah Wahyuningsih; Heki Aprianto; Lili Indah Sari; Wishnu Aribowo Probonegoro; Sri Rahayu; Serly Oktarina
Applications of machine learning for hemodialysis nursing cares based on a machine learning algorithm
Mohammad Reza Zabihi; Samira Rashtiani; Yasaman Mashayekhi; Fateme Amirinia; Vahid Gholamkar; Samira Kor; Mohammad Akhoondian
Literatur Lain dari DOAJ Open Access Articles
Multiple Pathways to the Student’s Brain: An Appropriate Tool to Impact on EFL Learners’ Stress, Anxiety, Depression, and Perceived Supportive Learning Climate
Jila Naeini; Javanshir Asadi; Nasrin Sadat Azami · 2020
Machine learning prediction of bile salt export pump inhibition with Boruta feature selection in imbalanced data
Bailang Liu; Yong Liu; Hui Yang; Yang Li; Shanshan Yin; Junnan Wang; Zhikui Cheng; Xin Zhao; Xuejun Zhang; Shu Li; Lifei Liu · 2026
Hybrid Text Ensemble-MultiEmbed: A Novel Machine Learning Approach for Automated Learning Outcome Prediction
Sapna Rai; Sunil Sikka; Anil Kumar · 2025
Global and adaptive split conformal prediction for capacity-constrained Top-K screening: a methodological evaluation using synthetic student performance data
Yu Chao; Nur Fazidah Elias; Yazrina Yahya; Ruzzakiah Jenal; Mo Fan · 2026
The dark side of AI in education: AI dependency as a mediator linking academic self-efficacy and teacher support to learning burnout among university students
Qian Huang; Shuang Tu; Jiayuan Lin; Li Lu; Chunlan Lv · 2026
Machine learning predicts diabetes risk in high-risk populations: analysis of National Health and Nutrition Examination Survey data
Xiaohua Yang; Meiqi Yao; Jia Huang; Zhuojing Cheng; Ting Sun · 2025
Explainable Machine Learning Framework for Predicting Caregiver Employee Productivity and Well-Being
Janani R.; V Muralidharan; M Malini; S Jayas; M Thuslima Nazeerin; U Veeramanikandan · 2026
STEAP: Camera-Based Longitudinal Classroom Behavior Sensing and Static–Temporal Data Fusion for Academic Performance Prediction in Software Engineering Education
Jialing Wang; Qikai Lin; Yunhong Ding; Jingyu Liu; Bo Qi · 2026
Literatur Terbaru yang Relevan
Multiple Pathways to the Student’s Brain: An Appropriate Tool to Impact on EFL Learners’ Stress, Anxiety, Depression, and Perceived Supportive Learning Climate
Jila Naeini; Javanshir Asadi; Nasrin Sadat Azami · 2020
Machine learning prediction of bile salt export pump inhibition with Boruta feature selection in imbalanced data
Bailang Liu; Yong Liu; Hui Yang; Yang Li; Shanshan Yin; Junnan Wang; Zhikui Cheng; Xin Zhao; Xuejun Zhang; Shu Li; Lifei Liu · 2026
Student Performance Prediction Using Machine Learning
Hrutuja Umakant Aher · 2026
Hybrid Text Ensemble-MultiEmbed: A Novel Machine Learning Approach for Automated Learning Outcome Prediction
Sapna Rai; Sunil Sikka; Anil Kumar · 2025
Global and adaptive split conformal prediction for capacity-constrained Top-K screening: a methodological evaluation using synthetic student performance data
Yu Chao; Nur Fazidah Elias; Yazrina Yahya; Ruzzakiah Jenal; Mo Fan · 2026
The dark side of AI in education: AI dependency as a mediator linking academic self-efficacy and teacher support to learning burnout among university students
Qian Huang; Shuang Tu; Jiayuan Lin; Li Lu; Chunlan Lv · 2026
Machine learning predicts diabetes risk in high-risk populations: analysis of National Health and Nutrition Examination Survey data
Xiaohua Yang; Meiqi Yao; Jia Huang; Zhuojing Cheng; Ting Sun · 2025
Explainable Machine Learning Framework for Predicting Caregiver Employee Productivity and Well-Being
Janani R.; V Muralidharan; M Malini; S Jayas; M Thuslima Nazeerin; U Veeramanikandan · 2026