The Indonesian Journal of Computer Science
Vol. 14 No. 2 (2025): The Indonesian Journal of Computer Science

Analisis Sentimen dan Ujaran Kebencian Pemberitaan Online Tentang IKN Menggunakan Algortima K-NN

Tumimomor, Tirsa (Unknown)



Article Info

Publish Date
30 Apr 2025

Abstract

Online news about Ibu Kota Nusantara (IKN) has sparked diverse public reactions, particularly regarding the capital relocation, a highly sensitive topic. The spread of information shapes public perception, especially when news contains hate speech, which can damage IKN’s reputation. This study applies sentiment analysis to online news about IKN using the K-Nearest Neighbor (KNN) algorithm. Data were gathered from Google News (595 articles) and YouTube (398 videos) and classified into four categories: positive, negative, neutral, and hate speech. The results show that Google News achieved 100% accuracy, while YouTube data reached 88.19% at K=3. These findings suggest that Google News articles are easier to classify with KNN compared to YouTube content, highlighting differences in text structure and characteristics between platforms.

Copyrights © 2025






Journal Info

Abbrev

ijcs

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Engineering

Description

The Indonesian Journal of Computer Science (IJCS) is a bimonthly peer-reviewed journal published by AI Society and STMIK Indonesia. IJCS editions will be published at the end of February, April, June, August, October and December. The scope of IJCS includes general computer science, information ...