The sentiment analysis of Indonesian football on Twitter by using K nearest neighbors and random forest

Authors

  • Dedy Agung Prabowo Institut Teknologi Telkom Purwokerto
  • Sudianto Institut Teknologi Telkom Purwokerto

DOI:

https://doi.org/10.36085/jsai.v6i2.5337

Abstract

Twitter is one of the most widely used social media today. Twitter allows users to provide the latest news and comments about ongoing events in the World. In Indonesia, the final match of the AFF Suzuki Cup 2020 became a hot topic because, for the sixth time, Indonesia was runner-up after 2000, 2002, 2004, 2010, and 2016 appearances for the Indonesian national team. With so many opinions and criticisms circulating, distinguishing between positive and negative opinions takes a long time. Therefore, a sentiment analysis model is needed that can classify positive and negative opinions as evaluation material for the Indonesian National Team in the future. This study uses the K-Nearest Neighbors and Random Forest algorithm methods in sentiment analysis classification. The data comes from a reply to Joko Widodo's Twitter account regarding congratulations to the Indonesian national team after competing against Thailand at the AFF Suzuki Cup 2020. Based on the test results, the accuracy of the K-Nearest Neighbors algorithm is 75% better than the Random Forest algorithm, with an accuracy of 71%..

Downloads

Published

2023-06-30

Issue

Section

Articles
Abstract viewed = 193 times