Claim Missing Document
Check
Articles

Found 1 Documents
Search

Comparison of K-Nearest Neighbor and Support Vector Machine Methods in Sentiment Analysis of Offline Courses Bimbe, Muhammad Arrazi Alghifari; Marzal, Jefri; Khaira , Ulfa
Internet of Things and Artificial Intelligence Journal Vol. 5 No. 1 (2025): Volume 5 Issue 1, 2025 [February]
Publisher : Association for Scientific Computing, Electronics, and Engineering (ASCEE)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.31763/iota.v5i1.898

Abstract

The implementation of the New Normal policy triggers various responses from the community regarding offline learning. Some students accept this system well and have a positive view towards the adaptation of new habits. To understand public opinion on this policy, sentiment analysis is used to categorize opinions into positive or negative categories. This method is very useful in extracting opinions from social media and analyzing public responses to an issue. In sentiment analysis, two methods that are often used are K-nearest neighbor (KNN) and Support Vector Machine (SVM). KNN classifies data based on the closest distance, but this method is quite susceptible to noise. In contrast, SVM works by determining the optimal hyperplane to separate data classes, making it more stable in classification. In this research, tests were conducted using a 90:10 split data scenario. The analysis shows that the accuracy of the Support Vector Machine is higher than K-Nearest Neighbors.SVM recorded an accuracy of 63.39%, while KNN only reached 38.80%. In addition, based on performance evaluation, SVM excels in Precision, Recall, and F1-Score aspects when compared to KNN. Based on these results, it can be concluded that in sentiment analysis related to offline learning after the New Normal policy, the Support Vector Machine method is more effective than the K-Nearest Neighbor, both in terms of accuracy and overall model performance.