ANALISIS SENTIMEN TERHADAP INFLUENCER MENGGUNAKAN LSTM DAN SVM (LINIER SVC) PADA KOMENTAR PLATFORM X
DOI:
https://doi.org/10.52060/da4wk642Abstract
Social media platform X has become an important platform for influencers in shaping public opinion, but user comments are generally unstructured and use informal language, and have diverse sentiments that are difficult to analyze. This study aims to classify sentiment towards influencers on the X platform and compare the performance of the Deep Learning LSTM model and the Classic Machine Learning SVM model. Using 8,252 comments that have undergone text pre-processing. To overcome class imbalance, the BiLSTM model uses FastText embedding and Focal Loss, while the SVM model applies SMOTE oversampling. Performance is evaluated using accuracy and F1-macro, and the differences are tested using the McNemar test. The results show that BiLSTM achieves an accuracy of 0.68 and an F1-macro of 0.66, slightly higher than SVM (accuracy 0.67; F1-macro 0.65). However, the McNemar test indicated that the difference was not significant (p > 0.05). These findings imply that SVM remains a viable alternative for efficient short text classification on limited computational resources, while BiLSTM provides a slight improvement. The limitations of this study lie in the scope of data, which is restricted by keywords and the time range of collection, so generalization to other domains requires further study. The novelty of this study lies in the comprehensive comparison of the two approaches to informal influencer comments with different imbalance handling strategies.
Keywords: FastText; Focal Loss; Influencer; LSTM; SVM.
References
Arwindarti, T., Setiawan, E. I., & Imron, S. (2024). Klasifikasi Sentimen Opini Publik Pada Instagram Pemerintah Kabupaten Bojonegoro Menggunakan LSTM. Teknika, 13(1), 1–9. https://doi.org/10.34148/teknika.v13i1.699
Asyaky, M. S., Al-Husaini, M., & Lukmana, H. H. (2025). Sentiment Analysis on Short Social Media Texts Using DistilBERT. Journal of Computer Networks, Architecture and High Performance Computing, 7(2), 524–533. https://doi.org/10.47709/cnahpc.v7i2.5836
Brown, M. A., Gruen, A., Maldoff, G., Messing, S., Sanderson, Z., & Zimmer, M. (2025). Web scraping for research: Legal, ethical, institutional, and scientific considerations. Big Data & Society, 12(4), 20539517251381690. https://doi.org/10.1177/20539517251381686
Derbentsev, V. D., Bezkorovainyi, V. S., Matviychuk, A. V, Pomazun, O. M., Hrabariev, A. V, & Hostryk, A. M. (2023). Sentiment analysis of electronic social media based on deep learning. No. M3e2, 163–175. https://doi.org/10.5220/0011932300003432
Eliviani, R., & Wazaumi, D. D. (2024). Exploring sentiment trends: Deep learning analysis of social media reviews on Google Play Store by netizens. International Journal of Advances in Data and Information Systems, 5(1), 62–70. https://doi.org/10.59395/ijadis.v5i1.1318
Hadiprakoso, R. B., Setiawan, H., Yasa, R. N., & Girinoto. (2023). Text preprocessing for optimal accuracy in Indonesian sentiment analysis using a deep learning model with word embedding. AIP Conference Proceedings, 2680(1), 20050. https://doi.org/10.1063/5.0126116
Hasan, M., Milawati, Mp., Darodjat, Mp., & DrTuti Khairani Harahap, Ma. (2021). Makna Peran Media Dalam Komunikasi dan Pembelajaran │i MEDIA PEMBELAJARAN.
Irawan, T., Amelia, P. R., Afriandi, A., Jusiati, A., Octaviani, V., Maryaningsih, M., & Narti, S. (2025). Edukasi Bentuk Kampanye Sosial Menggunakan Media Sosial Di SMA Negeri 8 Kota Bengkulu. Jurnal Dehasen Mengabdi, 4(1), 9–12. https://doi.org/10.37676/jdm.v4i1.7784
Larasati, F. A., Ratnawati, D. E., & Hanggara, B. T. (2022). Analisis sentimen ulasan aplikasi Dana dengan metode Random Forest. Jurnal Pengembangan Teknologi Informasi Dan Ilmu Komputer, 6(9), 4305–4313.
Perwira, R. I., Permadi, V. A., Purnamasari, D. I., & Agusdin, R. P. (2025). Domain-specific fine-tuning of IndoBERT for aspect-based sentiment analysis in Indonesian travel user-generated content. Journal of Information Systems Engineering and Business Intelligence, 11(1), 30–40.
Prasetyo, S. D., Hilabi, S. S., & Nurapriani, F. (2023). Analisis sentimen relokasi Ibukota Nusantara menggunakan algoritma Naïve Bayes dan KNN. Jurnal KomtekInfo, 1–7. https://doi.org/10.35134/komtekinfo.v10i1.330
Putra, Y. I., Hakiki, M., Ridoh, A., Fauziah, Fadli, R., & Sundahry. (2022). Konsep Interaksi Manusia Dan Komputer. Penerbit Lakeisha.
Safira, A., & Hasan, F. N. (2023). Analisis Sentimen Masyarakat Terhadap Paylater Menggunakan Metode Naive Bayes Classifier. ZONAsi: Jurnal Sistem Informasi, 5(1), 59–70. https://doi.org/10.31849/zn.v5i1.12856
Safitri, A., Firmansyah, I., Yani, F., Kurniawan, M. A., & Nuryamin, Y. (2025). ANALISIS SENTIMEN RESPON PENGGUNA CHAT GPT MENGGUNAKAN ALGORITMA SUPPORT VECTOR MACHINE. Jurnal Inovasi Pendidikan Dan Teknologi Informasi (JIPTI), 6(2), 553–566. https://doi.org/10.52060/jipti.v6i2.3810
Turki, T., & Roy, S. S. (2022). Novel hate speech detection using word cloud visualization and ensemble learning coupled with count vectorizer. Applied Sciences, 12(13), 6611. https://doi.org/10.20473/jisebi.11.1.30-40
Wen, X., & Li, W. (2023). Time series prediction based on LSTM-attention-LSTM model. IEEE Access, 11, 48322–48331. https://doi.org/10.1109/ACCESS.2023.3276628
Xu, Q. A., Chang, V., & Jayne, C. (2022). A systematic review of social media-based sentiment analysis: Emerging trends and challenges. Decision Analytics Journal, 3, 100073. https://doi.org/10.1016/j.dajour.2022.100073
| Keywords | : |
Keywords:
FastText, Focal Loss, Influencer, LSTM, svm
|
| Galleys | : | |
| Published | : |
2026-04-01
|
| Issue | : |
Copyright (c) 2026 Ginna Anggriani Buulolo, Ucta Pradema Sanjaya

This work is licensed under a Creative Commons Attribution 4.0 International License.












_SCCC.png)
