Public Sentiment Analysis on the Issue of Demonstrations Concerning the Draft Criminal Procedure Code (RKUHAP) in 2025 Using IndoBERT

Authors

  • Muhammad Makmun Effendi Universitas Pelita Bangsa, Bekasi, Jawa Barat, Indonesia
  • Ermanto Ermanto Universitas Pelita Bangsa, Bekasi, Jawa Barat, Indonesia
  • Ahmad Turmudi Zy Universitas Pelita Bangsa, Bekasi, Jawa Barat, Indonesia
  • Ira Yusan Universitas Pelita Bangsa, Bekasi, Jawa Barat, Indonesia

DOI:

https://doi.org/10.62411/tc.v25i4.18497

Abstract

This pilot study evaluates IndoBERT for binary sentiment classification of YouTube comments concerning the 2025 demonstrations related to Indonesia’s Draft Criminal Procedure Code (RKUHAP). A total of 169 comments were collected from three videos. Preliminary AI-assisted screening identified 68 positive or negative candidates for the experiment, while one neutral candidate and 100 comments requiring contextual review or exclusion were not included. The binary dataset was divided into 47 training, 10 validation, and 11 test comments using a fixed stratified split. IndoBERT-base-p1 was fine-tuned for three epochs, with checkpoint selection based on validation macro-F1. A TF-IDF–Support Vector Machine served as the baseline. IndoBERT matched eight of the eleven test reference labels, achieving an agreement accuracy of 72.73% and a macro-F1 of 68.57%. The baseline produced identical test predictions, providing no evidence of an IndoBERT advantage in this experiment. Negative recall reached 100.00%   Keywords - Sentiment Analysis; RKUHAP; IndoBERT; YouTube Comments; Binary Classification.

Downloads

Published

2026-11-30