Sentiment Analysis on KPU Performance Post-2024 Election via YouTube Comments Using BERT

This research aims to analyze public sentiment regarding the performance of the General Election Commission after the 2024 presidential election using the BERT (Bidirectional Encoder Representations from Transformers) model. Given the General Election Commission's crucial role in maintaining election integrity and the importance of transparency in Indonesian democracy, understanding public opinion through sentiment analysis is essential. Data was collected from YouTube comments, a platform increasingly popular for public expression. The analysis process began with data preprocessing, including case folding, text cleaning, tokenization, and stop word removal. The BERT model was then applied to classify the sentiment of the comments, with the model's performance evaluated using 10-fold cross-validation. The evaluation results showed that the first fold (k=1) achieved the best performance with an accuracy of 96%, precision of 96%, recall of 96%, and an F1-score of 96%, indicating the model's effectiveness in accurately classifying sentiment. In contrast, the ninth fold (k=9) exhibited the lowest accuracy at 86% with other metrics also lower, suggesting performance instability potentially caused by data variability. Accuracy and loss graphs confirmed that the first fold experienced consistent accuracy improvements and significant loss reduction, while the ninth fold showed performance fluctuations. This study provides valuable insights into public sentiment regarding the General Election Commission performance, with BERT demonstrating significant potential for sentiment analysis on social media platforms like YouTube.

Authors

Institutions

Publication Details

Journal
SinkrOn
Published
2024-10-02
DOI
https://doi.org/10.33395/sinkron.v8i4.14040
Citations
2
Primary Topic
Technology and Data Analysis
Type
article
Field-Weighted Citation Impact
1.56
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Sentiment Analysis on KPU Performance Post-2024 Election via YouTube Comments Using BERT

Majid Rahardi, Nafiatun Sholihah, Ferian Fauzi Abdulloh
2 citations
SinkrOn
Technology and Data Analysis
1.56
article

Sentiment Analysis on KPU Performance Post-2024 Election via YouTube Comments Using BERT

Majid Rahardi, Nafiatun Sholihah, Ferian Fauzi Abdulloh
article en
2 citations

Abstract

This research aims to analyze public sentiment regarding the performance of the General Election Commission after the 2024 presidential election using the BERT (Bidirectional Encoder Representations from Transformers) model. Given the General Election Commission's crucial role in maintaining election integrity and the importance of transparency in Indonesian democracy, understanding public opinion through sentiment analysis is essential. Data was collected from YouTube comments, a platform increasingly popular for public expression. The analysis process began with data preprocessing, including case folding, text cleaning, tokenization, and stop word removal. The BERT model was then applied to classify the sentiment of the comments, with the model's performance evaluated using 10-fold cross-validation. The evaluation results showed that the first fold (k=1) achieved the best performance with an accuracy of 96%, precision of 96%, recall of 96%, and an F1-score of 96%, indicating the model's effectiveness in accurately classifying sentiment. In contrast, the ninth fold (k=9) exhibited the lowest accuracy at 86% with other metrics also lower, suggesting performance instability potentially caused by data variability. Accuracy and loss graphs confirmed that the first fold experienced consistent accuracy improvements and significant loss reduction, while the ninth fold showed performance fluctuations. This study provides valuable insights into public sentiment regarding the General Election Commission performance, with BERT demonstrating significant potential for sentiment analysis on social media platforms like YouTube.

SinkrOnVol. 8(4)
Universitas Respati Yogyakarta (ID), Universitas Amikom Yogyakarta
Peace, Justice and strong institutions
Openalex Percentile: Top 12%
Technology and Data Analysis
1.56
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.