Analisis Perbandingan TF-IDF, FastText, dan BERT pada Model Support Vector Machine untuk Klasifikasi Sentimen Komentar Folkative

Authors

  • Rystiana Pratiwi Universitas Muhammadiyah Jember
  • Moh. Dasuki Program Studi Teknik Informatika, Universitas Muhammadiyah Jember
  • Reni Umilasari Program Studi Teknik Informatika, Universitas Muhammadiyah Jember

DOI:

https://doi.org/10.52072/unitek.v19i01.2077

Keywords:

Analisis sentimen, TF-IDF, FastText, BERT, Support Vector Machine

Abstract

Sentiment analysis on social media presents its own challenges due to the use of informal language, slang, sarcasm, and typos commonly found on platforms like Instagram. This study aims to apply and compare three text feature representation methods, namely TF-IDF as a baseline and FastText word embedding and BERT (Bidirectional Encoder Representations from Transformers), on a Support Vector Machine (SVM) model for sentiment classification of comments on the Folkative Instagram account. The data used amounted to 11,914 comments that had gone through a pre-processing process. For data labeling, a semi-automatic lexicon-based method was used that was validated by Indonesian language experts. Model optimization was performed using GridSearchCV and model validation through Stratified 5-Fold Cross Validation. The results showed that TF-IDF with SVM achieved the best performance with an accuracy of 87.61% using the RBF kernel, followed by FastText with SVM at 87.54% using the RBF kernel, and BERT with SVM at 86.38% using the RBF kernel. These results demonstrate that simpler methods can still provide superior results if they match the characteristics of the data. TF-IDF was more effective in classifying comments because comments on the Folkative Instagram account tend to be short and contain explicit sentiment, while FastText and BERT were unable to provide significant performance improvements on this dataset.

 

Downloads

Download data is not yet available.

References

Dang, N. C., Moreno-García, M. N., & De la Prieta, F. (2020). Sentiment analysis based on deep learning: A comparative study. Electronics (Switzerland), 9(3). https://doi.org/10.3390/ELECTRONICS9030483

Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2018). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. NAACL HLT 2019 - 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies - Proceedings of the Conference, 1, 4171–4186. https://arxiv.org/pdf/1810.04805

Giachanou, A., & Crestani, F. (2017). Like it or not: A survey of Twitter sentiment analysis methods. ACM Computing Surveys, 49(2). https://doi.org/10.1145/2938640

Joulin, A., Grave, É., Bojanowski, P., & Mikolov, T. (2017). Bag of Tricks for Efficient Text Classification. In the Association for Computational Linguistics (Vol. 2, pp. 427–431). https://aclanthology.org/E17-2068/

Luqyana, W. A., Cholissodin, I., & Perdana, R. S. (2018). Analisis Sentimen Cyberbullying Pada Komentar Instagram dengan Metode Klasifikasi Support Vector Machine dengan mengimplementasikan algoritma Lexicon Based Features. Berdasarkan. Jurnal Pengembangan Teknologi Informasi Dan Ilmu Komputer (J-PTIIK) Universitas Brawijaya, 2(11), 4704–4713.

Metode, I., Dan, B., & Pada, S. V. M. (2025). Analisis Sentimen Game Genshin Impact. 5, 52–60.

Putra, F., Muhammad Ihsan, R., Fulaila Tahiyat, H., Efrizoni, L., & Rahmaddeni. (2024). Evaluation Of Gojek Application Performance Through User Review Word Classification Using The SVM Method. Techno.COM, 23(3), 704–715. https://www.researchgate.net/publication/383620166_Evaluasi_Performa_Aplikasi_Gojek_Melalui_Klasifikasi_Kata_Ulasan_Pengguna_Dengan_Metode_SVM

Wijaya, T. N., Indriati, R., & Muzaki, M. N. (2021). Analisis Sentimen Opini Publik Tentang Undang-Undang Cipta Kerja Pada Twitter. Jambura Journal of Electrical and Electronics Engineering, 3(2), 78–83. https://doi.org/10.37905/JJEEE.V3I2.10885

Downloads

Published

2026-07-14

How to Cite

Pratiwi, R., Dasuki, M., & Umilasari, R. (2026). Analisis Perbandingan TF-IDF, FastText, dan BERT pada Model Support Vector Machine untuk Klasifikasi Sentimen Komentar Folkative. JURNAL UNITEK, 19(01), 171–178. https://doi.org/10.52072/unitek.v19i01.2077

Similar Articles

1 2 3 4 5 6 7 8 > >> 

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