Sentiment Analysis on YouTube Comment Data for the Candidate Debate in the 2024 Presidential Election of the Republic of Indonesia

Kartika Purwandari, Meganingrum Arista Jiwanggi, Evi Yulianti

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The 2024 presidential election in Indonesia is just around the corner, and political figures are actively campaigning to increase their electability. Sentiment analysis has become a valuable tool in understanding public opinion, especially in the context of political campaigns. This study aims to analyze the sentiments expressed by YouTube comments towards the candidates during the presidential debates. We compared several machine learning (Support Vector Machine, Multinomial Linear Regression, Multinomial Naive Bayes, Random Forest) models along with TF-IDF, BoW, and Word2Vec feature techniques compare with deep learning models (IndoBERT and RoBERTa). From the experimental results, the best result is RoBERTa, with accuracy 83% and F1-score 81%. Evaluation of the best model results is applied to the remaining data and then used for the analysis process. According to our data, the result of the Indonesian presidential election in 2024 had a mean absolute error (MAE) of 6.92%. Based on the relatively low MAE, YouTube comments can potentially provide useful insights for predicting future elections considering a good agreement between the real count and our sentiment analysis.

Original languageEnglish
Title of host publication2024 5th International Conference on Artificial Intelligence and Data Sciences, AiDAS 2024 - Proceedings
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages392-397
Number of pages6
ISBN (Electronic)9798331528553
DOIs
Publication statusPublished - 2024
Event5th International Conference on Artificial Intelligence and Data Sciences, AiDAS 2024 - Hybrid, Bangkok, Thailand
Duration: 3 Sept 20244 Sept 2024

Publication series

Name2024 5th International Conference on Artificial Intelligence and Data Sciences, AiDAS 2024 - Proceedings

Conference

Conference5th International Conference on Artificial Intelligence and Data Sciences, AiDAS 2024
Country/TerritoryThailand
CityHybrid, Bangkok
Period3/09/244/09/24

Keywords

  • deep learning
  • feature engineering
  • machine learning
  • presidential election
  • sentiment analysis

Fingerprint

Dive into the research topics of 'Sentiment Analysis on YouTube Comment Data for the Candidate Debate in the 2024 Presidential Election of the Republic of Indonesia'. Together they form a unique fingerprint.

Cite this