Abstract
On the social networking site Twitter, users can post tweets, videos, and images. It can, however, also be disruptive and difficult. In order to categorize material and improve searchability, hashtags are crucial. This study focuses on examining the opinions of Twitter users who participate in trending topics. The algorithms K-Nearest Neighbor (KNN) and Support Vector Machine (SVM) are employed for sentiment analysis. The dataset comprises of tweet information on popular subjects that was collected using the Twitter API and saved in Excel format. SVM and K-NN are used for data preparation, weighting, and sentiment analysis. With 105 data points, the study provides insights into user sentiment. SVM identified 99% of positive and 1% of negative replies with accuracy of 80%. KNN successfully identified 90% of positive and 10% of negative responses, with an accuracy rate of 71.4%. According to the results, SVM performs better when analyzing the sentiment of hashtag users on Twitter.
Author supplied keywords
Cite
CITATION STYLE
Umar, R., Sunardi, & Ardhiansyah, M. N. (2023). Comparing the Performance of Data Mining Algorithms in Predicting Sentiments on Twitter. Jurnal RESTI, 7(4), 817–823. https://doi.org/10.29207/resti.v7i4.4931
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.