Implementasi Analisis Sentimen Komentar YouTube Berbasis IndoBERT dengan Evaluasi Confidence Score

Authors

  • Aji Pangestu Universitas Nusantara PGRI Kediri
  • Frisqy Maulana Universitas Nusantara PGRI Kediri

DOI:

https://doi.org/10.29407/vvdxca28

Keywords:

Analisis Sentimen, Confidence Score, IndoBERT, Komentar Youtube, Tranformer

Abstract

Analisis sentimen terhadap opini publik di media sosial menjadi penting untuk memahami persepsi masyarakat terhadap suatu topik, khususnya dalam konteks olahraga nasional seperti Timnas Indonesia. Penelitian ini mengimplementasikan sistem analisis sentimen otomatis pada komentar YouTube menggunakan pre-trained model IndoBERT (Indonesian Bidirectional Encoder Representations from Transformers) untuk mengklasifikasikan sentimen ke dalam tiga kategori: positif, negatif, dan netral. Data dikumpulkan melalui YouTube Data API v3 dari empat video terkait Timnas Indonesia, menghasilkan 952 komentar unik setelah melalui tahap preprocessing yang mencakup case folding, text cleaning (penghapusan URL, mentions, hashtags), dan deduplication. Pelabelan sentimen dilakukan secara otomatis menggunakan model w11wo/indonesian-roberta-base-sentiment-classifier dengan batch processing. Evaluasi sistem menggunakan confidence score sebagai metrik internal menunjukkan performa yang sangat baik dengan rata-rata confidence 89.68%, konsisten across semua kategori sentimen (positif: 89.47%, negatif: 89.76%, netral: 89.75%). Hasil klasifikasi menunjukkan dominasi sentimen negatif (43.59%), diikuti netral (29.52%) dan positif (26.89%), mengindikasikan opini publik yang cenderung kritis terhadap Timnas Indonesia dalam periode observasi. High confidence score distribution (71.4% prediksi ≥90%) menunjukkan bahwa model mampu mengidentifikasi sentiment signals dengan akurat pada mayoritas kasus, menjadikan pendekatan ini feasible untuk real-time sentiment monitoring pada social media discourse.

Downloads

Download data is not yet available.

References

[1] A. Hussain, A Practical Guide to Sentiment Analysis, vol. 5. Springer, 2017. doi: 10.1007/978-3-319-55394-8.

[2] J. Devlin, M.-W. Chang, K. Lee, K. T. Google, and A. I. Language, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” Proceedings of the 2019 Conference of the North, pp. 4171–4186, 2019, doi: 10.18653/V1/N19-1423.

[3] B. Wilie et al., “IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding,” pp. 843–857, Nov. 2020, doi: 10.18653/V1/2020.AACL-MAIN.85.

[4] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On Calibration of Modern Neural Networks,” 34th International Conference on Machine Learning, ICML 2017, vol. 3, pp. 2130–2143, Jun. 2017, Accessed: Dec. 31, 2025. [Online]. Available: https://arxiv.org/pdf/1706.04599

[5] O. El Azzouzy, T. Chanyour, and S. J. Andaloussi, “Transformer-based models for sentiment analysis of YouTube video comments,” Sci Afr, vol. 29, p. e02836, Sep. 2025, doi: 10.1016/J.SCIAF.2025.E02836.

[6] E. Haddi, X. Liu, and Y. Shi, “The Role of Text Pre-processing in Sentiment Analysis,” Procedia Comput Sci, vol. 17, pp. 26–32, Jan. 2013, doi: 10.1016/J.PROCS.2013.05.005.

[7] O. El Azzouzy, T. Chanyour, and S. J. Andaloussi, “Transformer-based models for sentiment analysis of YouTube video comments,” Sci Afr, vol. 29, p. e02836, Sep. 2025, doi: 10.1016/J.SCIAF.2025.E02836.

[8] “Pattern Recognition and Machine Learning | Springer Nature Link (formerly SpringerLink).” Accessed: Dec. 31, 2025. [Online]. Available: https://link.springer.com/book/9780387310732

[9] “Deep Learning.” Accessed: Dec. 31, 2025. [Online]. Available: https://www.deeplearningbook.org/

[10] C. Guo, G. Pleiss, Y. Sun, and K. Q. Weinberger, “On Calibration of Modern Neural Networks,” 34th International Conference on Machine Learning, ICML 2017, vol. 3, pp. 2130–2143, Jun. 2017, Accessed: Dec. 31, 2025. [Online]. Available: https://arxiv.org/pdf/1706.04599

[11] J. D. Kelleher, B. M. Namee, and A. D’Arcy, “Machine learning for predictive data analytics,” MIT Press, p. 43, 2001, Accessed: Dec. 31, 2025. [Online]. Available: https://mitpress.mit.edu/9780262029445/fundamentals-of-machine-learning-for-predictive-data-analytics/

Downloads

Published

2026-01-24

How to Cite

Implementasi Analisis Sentimen Komentar YouTube Berbasis IndoBERT dengan Evaluasi Confidence Score. (2026). Seminar Nasional Teknologi & Sains, 5(1), 664-672. https://doi.org/10.29407/vvdxca28

Similar Articles

11-20 of 113

You may also start an advanced similarity search for this article.