Open access
Jurnal
SINTA 2
Implementation of K-Nearest Neighbor (K-NN) Algorithm For Public Sentiment Analysis of Online Learning
IJCCS (Indonesian Journal of Computing and Cybernetics Systems) · Vol. 15 No. 2 (2021) · pp. 121–130
ISSN 2460-7258, 1978-1520
Published 2021-04-30
Publisher IndoCEISS in colaboration with Universitas Gadjah Mada, Indonesia.
Language eng
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.
Collaboration network of the authors
7 authors ·
9 co-authorship links
· 2 across different organisations
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
Universitas Teknokrat Indonesia Universitas Gadjah Mada
Different organisations
Same organisation
Affiliation unknown
Thicker line = more joint articles · bigger circle = more articles
Show as table
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.
Metadata source: OAI-PMH (metadata jurnal) https://journal.ugm.ac.id/ijccs/oai,
first harvested 26 Okt 2026,
last seen 26 Okt 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<dc:title xml:lang="en-US">Implementation of K-Nearest Neighbor (K-NN) Algorithm For Public Sentiment Analysis of Online Learning</dc:title>
<dc:creator>Isnain, Auliya Rahman</dc:creator>
<dc:creator>Supriyanto, Jepi</dc:creator>
<dc:creator>Kharisma, Muhammad Pajar</dc:creator>
<dc:subject xml:lang="en-US">Computer Science</dc:subject>
<dc:subject xml:lang="en-US">Sentiment analysis; online learning; K Nearest Neighbor; TF-IDF; Confusion Matrix</dc:subject>
<dc:description xml:lang="en-US">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.</dc:description>
<dc:publisher xml:lang="en-US">IndoCEISS in colaboration with Universitas Gadjah Mada, Indonesia.</dc:publisher>
<dc:contributor xml:lang="en-US"></dc:contributor>
<dc:date>2021-04-30</dc:date>
<dc:type>info:eu-repo/semantics/article</dc:type>
<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
<dc:type xml:lang="en-US"></dc:type>
<dc:format>application/pdf</dc:format>
<dc:identifier>https://journal.ugm.ac.id/ijccs/article/view/65176</dc:identifier>
<dc:identifier>10.22146/ijccs.65176</dc:identifier>
<dc:source xml:lang="en-US">IJCCS (Indonesian Journal of Computing and Cybernetics Systems); Vol 15, No 2 (2021): April; 121-130</dc:source>
<dc:source>2460-7258</dc:source>
<dc:source>1978-1520</dc:source>
<dc:language>eng</dc:language>
<dc:relation>https://journal.ugm.ac.id/ijccs/article/view/65176/31152</dc:relation>
<dc:rights xml:lang="en-US">Copyright (c) 2021 IJCCS (Indonesian Journal of Computing and Cybernetics Systems)</dc:rights>
<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>
Citations and indexing
OpenAlex
Indexed
via DOI
87 citations
Crossref
Indexed
via DOI
54 citations
Counts as reported by each index on 26 Okt 2026; indexes count citations differently.
OpenAlex also lists this work in: crossref, doaj.
Cite this article
APA 7
Isnain, A. R., Supriyanto, J., & Kharisma, M. P. (2021). Implementation of K-Nearest Neighbor (K-NN) Algorithm For Public Sentiment Analysis of Online Learning. IJCCS (Indonesian Journal of Computing and Cybernetics Systems), 15(2), 121–130. https://doi.org/10.22146/ijccs.65176
Copy
IEEE
A. R. Isnain, J. Supriyanto, and M. P. Kharisma, “Implementation of K-Nearest Neighbor (K-NN) Algorithm For Public Sentiment Analysis of Online Learning,” IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 15, no. 2, pp. 121–130, 2021, doi: 10.22146/ijccs.65176.
Copy
Generated from the journal's metadata; check author names before use.