IJCCS (Indonesian Journal of Computing and Cybernetics Systems)
Vol 15, No 2 (2021): April

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

Auliya Rahman Isnain (Fakultas Teknik dan Ilmu Komputer, Universitas Teknokrat Indonesia, Lampung)
Jepi Supriyanto (Fakultas Teknik dan Ilmu Komputer, Universitas Teknokrat Indonesia, Lampung)
Muhammad Pajar Kharisma (Fakultas Teknik dan Ilmu Komputer, Universitas Teknokrat Indonesia, Lampung)



Article Info

Publish Date
30 Apr 2021

Abstract

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.

Copyrights © 2021






Journal Info

Abbrev

ijccs

Publisher

Subject

Computer Science & IT Control & Systems Engineering

Description

Indonesian Journal of Computing and Cybernetics Systems (IJCCS), a two times annually provides a forum for the full range of scholarly study . IJCCS focuses on advanced computational intelligence, including the synergetic integration of neural networks, fuzzy logic and eveolutionary computation, so ...