Sentiment Analysis of YouTube Comments on the East Java Grant Fund Case Using the Support Vector Machine (SVM) Algorithm

Authors

  • Tirta Arya Bimantoro Department of Computer Science Program, Universitas Muhammadiyah Sidoarjo, Indonesia
  • Yunianita Rahmawati Department of Computer Science Program, Universitas Muhammadiyah Sidoarjo, Indonesia
  • Yulian Findawati Department of Computer Science Program, Universitas Muhammadiyah Sidoarjo, Indonesia
  • M. Alfan Rosid Department of Computer Science Program, Universitas Muhammadiyah Sidoarjo, Indonesia

DOI:

https://doi.org/10.58905/sana.v3i2.615

Keywords:

Corruption, YouTube, Sentiment Analysis, SVM, TF-IDF

Abstract

The phenomenon of corruption in Indonesia, particularly the alleged misuse of grant funds in East Java Province, has triggered various public responses, many of which have been expressed through comments on YouTube. This study aims to categorize and analyze public sentiment on this issue by applying the Support Vector Machine (SVM) algorithm. The data used consists of 1,039 relevant comments collected from several YouTube videos related to the case. The comments were processed through text pre-processing stages, which included case folding, tokenizing, text cleaning, removal of stopwords, stemming, and transformation using the Term Frequency-Inverse Document Frequency (TF-IDF) method. Next, the data was manually labeled into three sentiment categories: positive, negative, and neutral. The data was then divided into training and test data with a ratio of 80:20, and used to train and test the classification model. Evaluation was carried out using accuracy, precision, recall, and f1-score metrics. The results of the study show that the SVM algorithm performs well in classifying public sentiment, so it has the potential to be used as a tool to automatically identify public perceptions of developing social and political issues.

References

E. Tohidi, R. Perdana Herdiansyah, and E. Wahyudin, "Sentiment Analysis of YouTube Video Comments on the Tvonenews Channel About Presidential Candidate Prabowo Subianto Using Support Vector Machine," 2024. [Online]. Available: Https://Www.Youtube.Com/Watch?V=Wu_Wqhg1ylk

R. T. Adek, Z. Fitri, and S. Chairani Siegar, “Sentiment Analysis of Comments on Indonesian-Language Beauty Vlogger YouTube Channels Using the Support Vector Machine Method,” Jurnal Algoritme, Vol. 5, No. 2, pp. 164–175, 2025, doi: 10.35957/algoritme.V5i2.9692.

Desti Mualfah, “Sentiment Analysis of YouTube TVOne Comments on Ustadz Abdul Somad’s Deportation from Singapore Using the SVM Algorithm,” 2023.

R. R. Putri and N. Cahyono, “Sentiment Analysis of Public Comments on DKI Jakarta Government Public Services Using Super Vector Machine and Naive Bayes Algorithms,” 2024.

F. Caroline, R. G. S. Budi, and M. E. Al Rivan, “Sentiment Analysis of the Public Regarding the Corruption Case of PT. Timah Using the Support Vector Machine Method,” Journal of Computer Science and Informatics, Vol. 4, No. 1, pp. 43–50, Jul. 2024, Doi: 10.54082/Jiki.141.

P. Fremmuzar and A. Baita, “Kernel SVM Test in Sentiment Analysis of Telkomsel Services on Twitter Social Media,” Komputika: Journal of Computer Systems, Vol. 12, No. 2, pp. 57–66, Sep. 2023, Doi: 10.34010/Komputika.V12i2.9460.

Hayati, "Sentiment Analysis of YouTube User Comments on the New Policy of the Social Health Insurance Agency Using Naïve Bayes," 2024.

A. Irma Purnamasari and I. Ali, “Sentiment Analysis of Detik.Com News Comments Using the Support Vector Machine (SVM) Algorithm,” 2024.

N. Kenneth, "The Rise of Corruption Cases in Indonesia Year by Year," Nathanael Kenneth, Vol. 2, No. 1, 2024.

F. F. Abdulloh and I. R. Pambudi, "Sentiment Analysis of YouTube Users Towards the Covid-19 Vaccine Program," Csrid (Computer Science Research And Its Development Journal), Vol. 13, No. 3, P. 141, Nov. 2021, Doi: 10.22303/Csrid.13.3.2021.141-148.

R. Asrianto and M. Herwinanda, “Sentiment Analysis of the Increase in Basic Necessities Prices on YouTube Social Media Using the Support Vector Machine Algorithm,” Coscitech Journal (Computer Science and Information Technology), Vol. 3, No. 3, pp. 431–440, Dec. 2022, Doi: 10.37859/Coscitech.V3i3.4368.

Aprilia And A. R. Isnain, “Sentiment Analysis of Twitter Social Media Using the Case of Anti-Corruption Campaigns in Indonesia Using Naive Bayes,” Jurnal Media Informatika Budidarma, Vol. 8, No. 2, p. 695, Apr. 2024, Doi: 10.30865/Mib.V8i2.7582.

Muhammad Hilmy Riwanto, “Sentiment Analysis of YouTube Comments Related to the Implementation of Free Nutritious Meals Using the SVM Algorithm Model,” 2025.

L. Rofiqi And M. Akbar, “Sentiment Analysis Related to the Asset Seizure Bill Using Support Vector Machine,” Jekin - Journal of Informatics Engineering, Vol. 4, No. 3, pp. 529–538, Aug. 2024, Doi: 10.58794/Jekin.V4i3.824.

H. Hidayat, F. Santoso, and L. F. Lidimillah, “Analysis of YouTube Users’ Sentiment About Rohingya Using the SVM (Support Vector Machine) Algorithm,” G-Tech: Journal of Applied Technology, Vol. 8, No. 3, pp. 1729–1738, Jul. 2024, Doi: 10.33379/Gtech.V8i3.4497.

Downloads

Published

05-08-2026

Issue

Section

Articles