Litcius/Paper detail

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

Auliya Rahman Isnain, Jepi Supriyanto, Muhammad Pajar Kharisma

2021IJCCS (Indonesian Journal of Computing and Cybernetics Systems)84 citationsDOIOpen Access PDF

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.

Topics & Concepts

Python (programming language)k-nearest neighbors algorithmComputer scienceWeightingSentiment analysistf–idfValue (mathematics)Artificial intelligenceAlgorithmData miningMachine learningTerm (time)PhysicsQuantum mechanicsRadiologyMedicineOperating systemData Mining and Machine Learning ApplicationsMultimedia Learning SystemsInformation Retrieval and Data Mining
Implementation of K-Nearest Neighbor (K-NN) Algorithm For Public Sentiment Analysis of Online Learning | Litcius