EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Sentiment Analysis of Instagram Comments on the Ratification of the Criminal Procedure Code Bill using TF-IDF and Multinomial Naive Bayes

Dede Yayan Suciyana, Fathoni Mahardika, Dani Indra Junaedi

JASMINE: Journal of Intelligent Systems and Machine Learning · 17.02.2026 · 1 (2) · 81-90

DOI: 10.25124/jasmine.10188 ↗

Kurz gefasst

Fachartikel in der Zeitschrift JASMINE: Journal of Intelligent Systems and Machine Learning, online erschienen am 17.02.2026. Verfasst von Dede Yayan Suciyana und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The ratification of the Draft Criminal Procedure Code (RUU KUHAP) has generated a broad and intense public response on social media. This study analyzes public perception of the ratification of the RUU KUHAP through Instagram user comments using Sentiment Analysis techniques based on TF-IDF representation and Multinomial Naive Bayes (MNB) classification. Comments were obtained using the Web Export method based on relevant post links, then preprocessed, converted into TF-IDF features, and classified. The evaluation showed an accuracy of around 66.67%, with the best performance in the negative class, and the positive class was not detected well due to unbalanced data distribution. The findings indicate the dominance of negative and neutral sentiments towards the RUU KUHAP. This study provides an empirical contribution to the understanding of public opinion on national legal issues.

Zitieren

APA

Suciyana, D. Y., Mahardika, F., & Junaedi, D. I. (2026). Sentiment Analysis of Instagram Comments on the Ratification of the Criminal Procedure Code Bill using TF-IDF and Multinomial Naive Bayes. JASMINE: Journal of Intelligent Systems and Machine Learning, 1(2), 81-90. https://doi.org/10.25124/jasmine.10188

Vancouver

Suciyana DY, Mahardika F, Junaedi DI. Sentiment Analysis of Instagram Comments on the Ratification of the Criminal Procedure Code Bill using TF-IDF and Multinomial Naive Bayes. JASMINE: Journal of Intelligent Systems and Machine Learning. 2026;1(2):81-90. doi:10.25124/jasmine.10188

BibTeX
@article{Suciyana2026,
  author = {Suciyana, Dede Yayan and Mahardika, Fathoni and Junaedi, Dani Indra},
  title = {Sentiment Analysis of Instagram Comments on the Ratification of the Criminal Procedure Code Bill using TF-IDF and Multinomial Naive Bayes},
  journal = {JASMINE: Journal of Intelligent Systems and Machine Learning},
  year = {2026},
  volume = {1},
  number = {2},
  pages = {81--90},
  doi = {10.25124/jasmine.10188}
}
Kostenlos starten →