Penerapan Metode Support Vector Machine Untuk Analisis Sentimen Pada Komentar Bitcoin Di Aplikasi X


Authors

  • Yaskur Bearly Fernandes Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Elin Haerani Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Fadhilah Syafria Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Muhammad Fikry Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia
  • Lola Oktavia Universitas Islam Negeri Sultan Syarif Kasim Riau, Pekanbaru, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v6i1.928

Keywords:

Sentiment Analysis; Term Frequency-Inverse Document Frequency; Bitcoin; Support Vector Machine; Platform X

Abstract

Social media has become a primary medium for users to express opinions, including those related to Bitcoin, whose fluctuating value often triggers diverse public responses. The large volume of unstructured comments makes manual sentiment analysis inefficient, thereby necessitating an automated approach based on machine learning. This study aims to classify positive and negative sentiments in Bitcoin-related comments on the X platform using the Support Vector Machine (SVM) algorithm with Term Frequency–Inverse Document Frequency (TF-IDF) feature weighting. The dataset consists of 1,750 Indonesian-language comments labeled by three annotators. The data were processed through several preprocessing stages, including case folding, text cleaning, tokenization, stopword removal, and stemming. Model evaluation was conducted using four data split ratios, namely 90:10, 80:20, 70:30, and 60:40. The experimental results indicate that the 90:10 ratio achieved the best performance, with an accuracy of 72.57%, precision of 0.75, recall of 0.73, and an F1-score of 0.67. The SVM model demonstrates strong performance in identifying positive sentiments; however, it is less effective in detecting negative sentiments due to class imbalance in the dataset. As an additional experiment, testing was performed using a balanced dataset obtained through an undersampling process and several SVM kernel types for comparison. The results show that using a balanced dataset leads to more evenly distributed classification performance across sentiment classes, while the linear kernel provides the most stable performance compared to other kernels. Overall, SVM with TF-IDF weighting proves to be an effective approach for sentiment analysis of Bitcoin-related comments on social media.

Downloads

Download data is not yet available.

References

V. Albarsyah, “Perkembangaan Ekonomi Digital Mengenai Perilaku Pengguna Media Sosial dalam Melakukan Transaksi,” JMEB Jurnal Manajemen Ekonomi & Bisnis, vol. 1, no. 2, 2023.

Radhika Chabra, “Twitter Diplomacy: A Brief Analysis,” Orf Issue Brief, no. 335, 2020.

E. H. F. W. L. O. Raja Allifin Muhammad, “Penerapan Metode Naive Bayes Dengan PSO Pada Analisis Sentimen Pengguna Aplikasi X Terhadap Bitcoin,” Jurnal Sistem Informasi, vol. 14, no. 4, 2025.

R. Parlika, S. Ilham Pradika, A. M. Hakim, and R. N. M. Kholilul, “Analisis Sentimen Twitter Terhadap Bitcoin dan Cryptocurrency Berbasis Python TextBlob,” JIFTI-Jurnal Ilmiah Teknologi Informasi dan Robotika, vol. 2, no. 2, 2020.

M. A. Jassim and S. N. Abdulwahid, “Data Mining preparation: Process, Techniques and Major Issues in Data Analysis,” IOP Conf Ser Mater Sci Eng, vol. 1090, no. 1, p. 012053, Mar. 2021, doi: 10.1088/1757-899x/1090/1/012053.

T. Ahmed Khan, R. Sadiq, Z. Shahid, M. M. Alam, and M. Mohd Su’ud, “Sentiment Analysis using Support Vector Machine and Random Forest,” Journal of Informatics and Web Engineering, vol. 3, no. 1, pp. 67–75, Feb. 2024, doi: 10.33093/jiwe.2024.3.1.5.

D. E. Cahyani and I. Patasik, “Performance comparison of tf-idf and word2vec models for emotion text classification,” Bulletin of Electrical Engineering and Informatics, vol. 10, no. 5, pp. 2780–2788, Oct. 2021, doi: 10.11591/eei.v10i5.3157.

T. Setiawan, S. Liem, and D. M. R. Pribadi, “Perbandingan Algoritma SVM dan Naïve Bayes dalam Analisis Sentimen Komentar Tiktok pada Produk Skincare,” Applied Information Technology and Computer Science, vol. 3, no. 2, pp. 28–32, 2024.

A. Septini, Susanto, and Elmayati, “Analisis Sentimen Masyarakat di Twitter Mengenai Open AI CHATGPT Menggunakan Metode Support Vector Machine (SVM),” Bulletin of Computer Science Research, vol. 5, no. 2, pp. 138–149, Feb. 2025, doi: 10.47065/bulletincsr.v5i2.475.

D. Alita, Y. Fernando, and H. Sulistiani, “Implementasi Algoritma Multiclass SVM Pada Opini Publik Berbahasa Indonesia Di Twitter,” Jurnal TEKNOKOMPAK, vol. 14, no. 2, p. 86, 2020.

M. Dogucu and M. Çetinkaya-Rundel, “Web Scraping in the Statistics and Data Science Curriculum: Challenges and Opportunities,” Journal of Statistics and Data Science Education, vol. 29, no. S1, pp. S112–S122, 2021, doi: 10.1080/10691898.2020.1787116.

M. A. Rosid, A. S. Fitrani, I. R. I. Astutik, N. I. Mulloh, and H. A. Gozali, “Improving Text Preprocessing for Student Complaint Document Classification Using Sastrawi,” IOP Conf Ser Mater Sci Eng, vol. 874, no. 1, Jul. 2020, doi: 10.1088/1757-899X/874/1/012017.

O. I. Gifari, M. Adha, I. Rifky Hendrawan, F. Freddy, and S. Durrand, “Analisis Sentimen Review Film Menggunakan TF-IDF dan Support Vector Machine,” JIFOTECH (JOURNAL OF INFORMATION TECHNOLOGY, vol. 2, no. 1, 2022.

N. Jasmin, R. K. Dinata, and I. Sahputra, “Implementation of Data Mining for Vertigo Disease Classification Using the Support Vector Machine ( SVM ) Method,” JACKA-Journal Of Computer Knowledge and Algorithms, vol. 1, no. 4, pp. 103–108, 2024.

Sulisetyo Puji Widodo and Adila Alfa Krisnadhi, “Analyzing Twitter Sentiments on Booster Vaccination with Support Vector Machine (SVM) Method,” International Journal of Innovation in Enterprise System, vol. 8, no. 2, pp. 11–21, Oct. 2024, doi: 10.25124/ijies.v8i02.236.

P. Fremmuzar and A. Baita, “Uji Kernel SVM dalam Analisis Sentimen Terhadap Layanan Telkomsel di Media Sosial Twitter,” Komputika?: Jurnal Sistem Komputer, vol. 12, no. 2, pp. 57–66, Sep. 2023, doi: 10.34010/komputika.v12i2.9460.

D. Alita and Y. Fernando, “Multiclass SVM Algorithm For Sarcasm Text In Twitter,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 8, no. 1, 2021.

M. Farhan Saleh and R. Imanda, “Public Sentiment Analysis of the Free Meal Program: A Comparison of Naive Bayes and Support Vector Machine Methods on the Twitter (X) Social Media Platform,” Journal of Applied Informatics and Computing (JAIC), vol. 9, no. 1, pp. 2548–6861, 2025.

H. Zhou, “Research of Text Classification Based on TF-IDF and CNN-LSTM,” J Phys Conf Ser, vol. 2171, no. 1, Jan. 2022, doi: 10.1088/1742-6596/2171/1/012021.

S. D. Fitri, D. Lestari, R. Raaiqa Bintana, R. Aryani, M. Ilhami, and Y. Noverina, “Implementasi Model Support Vector Machine Dalam Analisa Sentimen Masyarakat Mengenai Kebijakan Penerapan Aplikasi Mypertamina,” BRIDGE, vol. 2, no. 2, pp. 176–193, 2024, doi: 10.62951/bridge.v2i2.180.

P. Arsi and R. Waluyo, “Analisis Sentimen Wacana Pemindahan Ibu Kota Indonesia Menggunakan Algoritma Support Vector Machine (SVM),” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 8, no. 1, pp. 147–156, 2021, doi: 10.25126/jtiik.202183944.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Penerapan Metode Support Vector Machine Untuk Analisis Sentimen Pada Komentar Bitcoin Di Aplikasi X

Dimensions Badge

ARTICLE HISTORY

Published: 2025-12-27

Abstract View: 206 times
PDF Download: 110 times

How to Cite

Yaskur Bearly Fernandes, Elin Haerani, Fadhilah Syafria, Muhammad Fikry, & Lola Oktavia. (2025). Penerapan Metode Support Vector Machine Untuk Analisis Sentimen Pada Komentar Bitcoin Di Aplikasi X. Bulletin of Computer Science Research, 6(1), 381-391. https://doi.org/10.47065/bulletincsr.v6i1.928

Issue

Section

Articles