Sentiment Analysis of Digitalization of Small and Medium Enterprise on Social Media X Using SVM and KNN Methods


  • Muhammad Dzakiyuddin Haidar Telkom University, Bandung, Indonesia
  • Kemas Muslim Lhaksmana * Mail Telkom University, Bandung, Indonesia
  • (*) Corresponding Author
Keywords: Sentiment Analysis; Small and Medium Enterprises (SMEs); Digitalization; Support Vector Machine (SVM); K-Nearest Neighbor (KNN); Social Media Analysis; Hyperparameter Tuning

Abstract

The rapid digitalization of Small and Medium Enterprises (SMEs) has led to significant shifts in business operations, especially in their adaptation to digital platforms. Public perception towards this digital transformation is crucial to understand, as it reflects the success and acceptance of these efforts. This research conducts sentiment analysis on social media platform X to classify public opinions regarding the digitalization of SMEs. The analysis employs two machine learning algorithms, Support Vector Machine (SVM) and K-Nearest Neighbor (KNN), using Term Frequency-Inverse Document Frequency (TF-IDF) for feature extraction. The study compares the performance of both models under baseline and hyperparameter-tuned conditions. The results show that the SVM model consistently outperforms KNN in terms of accuracy, precision, recall, and F1-score. The highest accuracy achieved by the SVM model is 81.97% after hyperparameter tuning with a sigmoid kernel. Meanwhile, the best KNN model records an accuracy of 81.31% using Manhattan distance with 11 neighbors. This study demonstrates that SVM provides better stability and performance in sentiment classification related to SME digitalization. The findings are expected to help policymakers better understand public sentiment and formulate more effective strategies for supporting SME digital transformation.

Downloads

Download data is not yet available.

References

O. Juwita, A. Firdonsyah, M. Ali, A. P. Widodo, and R. R. Isnanto, “Studi Literatur Platform Digital Sebagai Sarana Pembangunan Ekosistem Dalam Mengembangkan UMKM,” INFORMAL: Informatics Journal, vol. 7, no. 1, p. 59, Jun. 2022, doi: 10.19184/isj.v7i1.31547.

P. Chairun, N. Fakultas, E. Dan Bisnis, and J. Manajemen, “PELUANG DAN TANTANGAN: KONSEP DIGITALISASI SMART CITY EKONOMI E-COMMERCE DI INDONESIA,” 2019. [Online]. Available: https://economy.okezone.com/read/201

V. Kurniawan, M. Faisal, R. Ansori, R. Yunus Pangaribuan, and I. Maritim Prasetya Mandiri, “PENGARUH UMKM (USAHA MIKRO KECIL MENEGAH) TERHADAP PENINGKATAN PEREKONOMIAN INDONESIA TAHUN 2024”, doi: 10.8734/mnmae.v1i2.359.

D. Rizqi Khusnul Khotimah, “Economic Growth and E-Commerce: Potensial for Digitizing SMSEs in East Java,” East Java Economic Journal, vol. 5, no. 2, pp. 183–203, Sep. 2021, doi: 10.53572/ejavec.v5i2.69.

E. Shintya Pratiwi, “ANALISIS SENTIMEN PADA DATA TWITTER KPK RI MENGGUNAKAN ALGORITMA SUPPORT VECTOR MACHINE (SVM),” 2023. Accessed: Jan. 10, 2025. [Online]. Available: Teknologipintar.org

A. Cahaya Puspitasari, “PENINGKATAN KINERJA ANALISIS SENTIMEN DENGAN TEKNIK FEATURE ENGINEERING PADA MACHINE LEARNING.” Accessed: Jan. 10, 2025. [Online]. Available: Puspitasari

A. Permata Informatika, “ANALISIS SENTIMEN MEDIA SOSIAL: MENGURAI OPINI PUBLIK DENGAN DATA,” 2024. Accessed: Jan. 10, 2025. [Online]. Available: Teknologipintar.org

N. Naw, “Twitter Sentiment Analysis Using Support Vector Machine and K-NN Classifiers,” International Journal of Scientific and Research Publications (IJSRP), vol. 8, no. 10, Oct. 2018, doi: 10.29322/IJSRP.8.10.2018.p8252.

Dhina Nur Fitriana and Yuliant Sibaroni, “Sentiment Analysis on KAI Twitter Post Using Multiclass Support Vector Machine (SVM),” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 4, no. 5, pp. 846–853, Oct. 2020, doi: 10.29207/resti.v4i5.2231.

A. Deviyanto and M. D. R. Wahyudi, “PENERAPAN ANALISIS SENTIMEN PADA PENGGUNA TWITTER MENGGUNAKAN METODE K-NEAREST NEIGHBOR,” JISKA (Jurnal Informatika Sunan Kalijaga), vol. 3, no. 1, p. 1, Dec. 2018, doi: 10.14421/jiska.2018.31-01.

P. Verma, T. Bhardwaj, A. Bhatia, and M. Mursleen, “Sentiment Analysis ‘Using SVM, KNN and SVM with PCA,’” in Artificial Intelligence in Cyber Security: Theories and Applications, vol. 240, Springer, Cham, 2023. doi: 10.1007/978-3-031-28581-3_5.

V. A. Retnowati and V. Purwayoga, “Analisis Sentimen Twitter Tentang Isu Resesi 2023: Studi Komparatif Pendekatan Machine Learning Twitter Sentiment Analysis of Recession 2023: A Comparative Study of Machine Learning Approaches,” vol. 11, p. 1, 2024, doi: 10.25124/jrsi.v11i01.612.

M. D. H. Jasy, S. Al Hasan, M. I. K. Sagor, A. Noman, and J. M. Ji, “A Performance Evaluation of Sentiment Classification Applying SVM, KNN, and Naive Bayes,” in 2021 International Conference on Computing, Networking, Telecommunications & Engineering Sciences Applications (CoNTESA), IEEE, Dec. 2021, pp. 56–60. doi: 10.1109/CoNTESA52813.2021.9657115.

E. K. Nararto, S. D. Budiwati, and S. K. Sari, “Opinion Classification on MSME Social Media Comments using Support Vector Machine and Random Forest Models,” in 2024 4th International Conference of Science and Information Technology in Smart Administration (ICSINTESA), IEEE, Jul. 2024, pp. 165–170. doi: 10.1109/ICSINTESA62455.2024.10748163.

M. D. H. Jasy, S. Al Hasan, M. I. K. Sagor, A. Noman, and J. M. Ji, “A Performance Evaluation of Sentiment Classification Applying SVM, KNN, and Naive Bayes,” in 2021 International Conference on Computing, Networking, Telecommunications & Engineering Sciences Applications (CoNTESA), IEEE, Dec. 2021, pp. 56–60. doi: 10.1109/CoNTESA52813.2021.9657115.

D. Mustikasari, I. Widaningrum, R. Arifin, W. Henggal, and E. Putri, “Comparison of Effectiveness of Stemming Algorithms in Indonesian Documents,” 2021. [Online]. Available: http://tiny.cc/rootwords.

B. Wijaya Rauf, “Sentimen Analisis Pertambangan Di Konawe Utara Dengan Metode Naïve Bayes,” 2023. [Online]. Available: https://t.co/fSdh2dCADm

N. Istiqomah and F. Novika, “Sentiment Analysis Penyedia layanan Asuransi dari Media Sosial Twitter,” Jurnal Tekno Kompak, vol. 18, no. 1, p. 77, Feb. 2024, doi: 10.33365/jtk.v18i1.3465.

R. Sanjaya, E. Tohidi, E. Wahyudi, and K. Kaslani, “ANALISIS SENTIMEN TERHADAP BERHENTINYA TIKTOKSHOP PADA MEDIA SOSIAL TWITTER MENGGUNAKAN ALGORITMA NAÏVE BAYES,” JATI (Jurnal Mahasiswa Teknik Informatika), vol. 8, no. 1, pp. 507–514, Feb. 2024, doi: 10.36040/jati.v8i1.8443.

F. Syahro and N. Fitriani, “PERBANDINGAN PERFORMA MODEL MACHINE LEARNING SUPPORT VECTOR MACHINE, NEURAL NETWORK, DAN K-NEAREST NEIGHBORS DALAM PREDIKSI HARGA SAHAM,” Jar’s, vol. 2, no. 1, p. 13, [Online]. Available: https://www.ejournalwiraraja.com/index.php/JARS

J. Ravi and S. Kulkarni, “Text embedding techniques for efficient clustering of twitter data,” Evol Intell, vol. 16, no. 5, pp. 1667–1677, Oct. 2023, doi: 10.1007/s12065-023-00825-3.

P. A. Octaviani, Y. Wilandari, and D. Ispriyanti, “PENERAPAN METODE KLASIFIKASI SUPPORT VECTOR MACHINE (SVM) PADA DATA AKREDITASI SEKOLAH DASAR (SD) DI KABUPATEN MAGELANG,” vol. 3, no. 4, pp. 811–820, 2014, [Online]. Available: http://ejournal-s1.undip.ac.id/index.php/gaussian


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Sentiment Analysis of Digitalization of Small and Medium Enterprise on Social Media X Using SVM and KNN Methods

Dimensions Badge
Article History
Submitted: 2025-01-14
Published: 2025-03-28
Abstract View: 3 times
PDF Download: 2 times
How to Cite
Haidar, M., & Lhaksmana, K. (2025). Sentiment Analysis of Digitalization of Small and Medium Enterprise on Social Media X Using SVM and KNN Methods. Building of Informatics, Technology and Science (BITS), 6(4), 2815-2823. https://doi.org/10.47065/bits.v6i4.6723
Issue
Section
Articles

Most read articles by the same author(s)

1 2 > >>