Implementasi Ensemble Voting Classifier untuk Analisis Sentimen Publik terhadap Kontroversi Pertandingan Indonesia vs Bahrain pada Platform Youtube

Penulis

  • Dlovan Ferdiansyah Program Studi Teknik Informatika, Universitas Semarang, Indonesia
  • Susanto Susanto Program Studi Teknik Informatika, Universitas Semarang, Indonesia
  • Ardi Pramono Program Studi Teknik Informatika, Universitas Semarang, Indonesia

DOI:

https://doi.org/10.35746/jtim.v8i3.1029

Kata Kunci:

Sentiment Analysis, YouTube Comments, Machine Learning, Ensemble Voting Classifier

Abstrak

The qualifying match between the Indonesian National Team and Bahrain sparked diverse public responses that escalated into controversy, particularly in digital spaces such as YouTube comment sections. This phenomenon prompted research to analyze public sentiment using a machine learn-ing approach to understand trends and polarization of public opinion. The research data was ini-tially collected as many as 1,000 raw comments through the YouTube scraping process, which then went through a cleaning stage resulting in 984 valid comments. The research data was ob-tained through scraping YouTube comments, The valid data is then labeled using a combination of lexicon (au-to-suggest) and manual validation approaches into three categories, namely positive, negative and neutral. The preprocessing stage focused on normalizing non-standard language (slang) and handling negations to maintain contextual meaning. Next, feature extraction was per-formed using Feature Union, which combines word- and character-based TF-IDF, as well as nu-meric features such as text length and punctuation proportion. To address data imbalance, the SMOTE method was applied to improve minority class representation. The model used was an Ensemble Voting Classifier with a soft voting approach, which combines a calibrated Support Vector Machine, Logistic Regression, and Random Forest. Model optimization was performed us-ing GridSearchCV to obtain the best parameters. The evaluation results showed that the model performed well with an accuracy of 89.34%, a precision of 89.17%, a recall of 89.34%, and an F1-score of 89.18%. Furthermore, the application of SMOTE and negation handling has been shown to help reduce bias toward the majority class. The application of the SMOTE method has been shown to significantly improve model performance compared to the baseline model without oversampling, which only achieved an accuracy of 88.83%. Overall, this ensemble approach with multidimensional feature engineering is effective in producing an accurate sentiment analysis model for evaluating public response to sporting events.

Unduhan

Data unduhan tidak tersedia.

Referensi

B. Ariyadi Jasno, A. Ariful Fathoni, D. Dharma Putra, M. Zidane Hasan, F. Amsury, and H. Supendar, “Analisis Sentimen Komentar Berpotensi Toxic Pada Media Sosial Tiktok Menggunakan Metode Decision Tree,” HOAQ (High Education of Organization Archive Quality) : Jurnal Teknologi Informasi, vol. 16, pp. 193-201, 2025. https://doi.org/10.52972/hoaq.vol16no2.p193-201.

V. P. Prasetyo, “Analisis Sentimen Platform Youtube Mengenai Pro Kontra Terhadap Naturalisasi Pemain Sepakbola Timnas Indonesia Menggunakan Metode Naïve Bayes,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 13, no. 3, pp. ,2225-2232, Jul. 2025, https://doi.org/10.23960/jitet.v13i3.7235.

A. M. Artamevia and J. S. Wibowo, “Analisis Sentimen Terhadap Kontroversi Pergantian Pelatih Timnas Indo-nesia Menggunakan Metode KNN (K-Nearest Neighbour),” vol. 9, no. 5, pp. , 8945-, 8952, 2025, https://doi.org/10.36040/jati.v9i5.15228.

D. T. Permana, Y. B. Pratama, Z. Wahyuzi, E. Altiarika, and A. Pramudyantoro, “Perbandingan Performa Algo-ritma Naive Bayes Dan Svm Untuk Analisis Sentimen Komentar Youtube Terhadap Industri Esports Di Indone-sia,” vol. 2, no. 6, pp. , 1391-1399, Nov. 2025, https://ejurnal.kampusakademik.co.id/index.php/jinu/article/view/6753.

A. Pradana and S. Susanto, “Implementasi Model Machine Learning untuk Deteksi Phishing dengan Pendekatan Ekstraksi Fitur yang Dioptimalkan,” Jurnal Teknologi Informasi dan Multimedia, vol. 8, no. 1, pp. 27–40, Jan. 2026, https://doi.org/10.35746/jtim.v8i1.881.

F. A. Hakim, I. W. D. Prastya, J. R. Budiani, “Sentiment Analysis of the Free Nutritious Meal Program (MBG) on Social Media X (Twitter) Using K-Nearest Neighbor and Artificial Neural Network,” Journal of Applied Infor-matics and Computing, vol. 10, no. 1, pp. 865-876, 2026. https://doi.org/10.30871/jaic.v10i1.12205.

M. I. Raif, N. N. Hidayati, and T. Matulatan, “Otomatisasi Pendeteksi Kata Baku Dan Tidak Baku Pada Data Twitter Berbasis KBBI,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 11, no. 2, pp. 337–348, Apr. 2024, https://doi.org/10.25126/jtiik.20241127404.

A. Jafar and M. Lee, “High Accuracy COVID-19 Prediction Using Optimized Union Ensemble Feature Selection Approach,” IEEE Access, vol. 12, pp. 122942–122958, 2024, https://doi.org/10.1109/ACCESS.2024.3424231.

F. D. Adhiatma and A. Qoiriah, “Penerapan Metode TF-IDF dan Deep Neural Network untuk Analisa Sentimen pada Data Ulasan Hotel,” Journal of Informatics and Computer Science, vol. 4, no. 2, pp. 183-193, 2022, https://doi.org/10.26740/jinacs.v4n02.p183-193.

R. Ridwan, E. H. Hermaliani, and M. Ernawati, “Penerapan Metode SMOTE Untuk Mengatasi Imbalanced Data Pada,” Computer Science (CO-SCIENCE), vo. 4, no. 1, pp. 80-88, 2024. https://doi.org/10.31294/coscience.v4i1.2990.

G. N. Ahmad, H. Fatima, S. Ullah, A. S. Saidi, and I. Imdadullah, “Efficient Medical Diagnosis of Human Heart Diseases Using Machine Learning Techniques with and Without GridSearchCV,” IEEE Access, vol. 10, pp. 80151–80173, 2022, https://doi.org/10.1109/ACCESS.2022.3165792.

T. R. Alfiansyah, A. A. Hidayat, A. H. Pratama, A. A. Mahenda, M. Rafly, and F. N. Hasan, “Analisis Sentimen Kebijakan Penempatan Dana 200 Triliun Bank BUMN Menggunakan Algoritma Support Vector Machine,” Jour-nal of Computing and Informatics Research, vol. 5, no. 1, pp. 410-420, 2025, https://journal.fkpt.org/index.php/comforch/article/view/2329.

Z. Z. H. Al Abrori and E. R. Subhiyakto, “Analisis Komparatif Akurasi Prediksi Kanker Payudara Menggunakan Algoritma Random Forest dan Logistic Regression,” Jurnal Algoritma, vol. 22, no. 1, pp. 300–311, May 2025, https://doi.org/10.33364/algoritma/v.22-1.2164.

R. Saputra and E. Hartati, “Deteksi Website Phising Menggunakan Algoritma Random Forest Dengan Optimal-isasi Gridsearch,” UTIM (Jurnal Teknik Informatika Musirawas), vo. 10, no. 1, pp. 55-67, Jul. 2025. Accessed: Dec. 10, 2025. https://jurnal.univbinainsan.ac.id/index.php/jutim/article/view/2674

F. A. Indriyani, A. Fauzi, and S. Faisal, “Analisis sentimen aplikasi tiktok menggunakan algoritma naïve bayes dan support vector machine,” TEKNOSAINS : Jurnal Sains, Teknologi dan Informatika, vol. 10, no. 2, pp. 176–184, Jul. 2023, https://doi.org/10.37373/tekno.v10i2.419.

Diterbitkan

2026-07-06

Terbitan

Bagian

Articles

Cara Mengutip

[1]
D. Ferdiansyah, S. Susanto, dan A. Pramono, “Implementasi Ensemble Voting Classifier untuk Analisis Sentimen Publik terhadap Kontroversi Pertandingan Indonesia vs Bahrain pada Platform Youtube”, jtim, vol. 8, no. 3, hlm. 465–483, Jul 2026, doi: 10.35746/jtim.v8i3.1029.

Artikel paling banyak dibaca berdasarkan penulis yang sama