Implementation of K-Nearest Neighbor (K-NN) Algorithm For Public Sentiment Analysis of Online Learning

Autor: Auliya Rahman Isnain, Jepi Supriyanto, Muhammad Pajar Kharisma
Jazyk: English<br />Indonesian
Rok vydání: 2021
Předmět:
Zdroj: IJCCS (Indonesian Journal of Computing and Cybernetics Systems), Vol 15, Iss 2, Pp 121-130 (2021)
Druh dokumentu: article
ISSN: 1978-1520
2460-7258
DOI: 10.22146/ijccs.65176
Popis: This research was conducted to apply the KNN (K-Nearest Neighbor) algorithm in conducting sentiment analysis of Twitter users on issues related to government policies regarding Online Learning. Research using Tweet data as much as 1825 Indonesian tweet data data were collected from February 1, 2020 to September 30, 2020. Using the python library, Tweepy. word weighting using TF-IDF, will be classified into two classes of sentiment values, positive and negative. After testing with K of 20, the highest accuracy results were obtained when K = 10 with an accuracy value of 84.65% with a precision of 87%, a recall of 86% f measure 87% and an error rate of 0.12% and a tendency was also obtained. public opinion on online learning tends to be positive.
Databáze: Directory of Open Access Journals