Optimasi Support Vector Machine Menggunakan Particle Swarm Optimization pada Analisis Sentimen Ulasan Shopee COD

  • Eka Irawan * Mail STIKOM Tunas Bangsa, Pematangsiantar, Indonesia
  • Wendi Robiansyah STIKOM Tunas Bangsa, Pematangsiantar, Indonesia
  • Widodo saputra STIKOM Tunas Bangsa, Pematangsiantar, Indonesia
  • Anjar Wanto STIKOM Tunas Bangsa, Pematangsiantar, Indonesia
Keywords: Sentiment Analysis; Support Vector Machine; Particle Swarm Optimization; Feature Selection; Shopee COD

Abstract

The Cash on Delivery (COD) service provided by the Shopee e-commerce platform often elicits a large volume of user reviews that exhibit unconventional language structures, prompting the need for a precise and automated sentiment analysis mechanism. This research endeavor seeks to categorize sentiments expressed in Shopee reviews as either positive or negative by leveraging the Support Vector Machine (SVM) algorithm, which has been fine-tuned using Particle Swarm Optimization (PSO). A key obstacle in text analysis lies in the vast feature space, which can impair model efficacy. Thus, PSO is utilized as a feature selection technique to identify the most pertinent set of terms from the TF-IDF feature extraction. The findings reveal that the integration of PSO successfully decreased feature dimensionality by 45% from the initial set of 1,000 features. Despite the substantial reduction in features, the SVM-PSO model achieved an enhanced accuracy of 81.21%, surpassing the baseline model's 78.79%. With an AUC value of 0.845, it is evident that the model retains stability and effectiveness in discerning sentiment even with a considerably reduced feature set. This investigation illustrates the efficacy of PSO optimization in eliminating extraneous features and refining the model's focus on sentiment-carrying vocabulary.

References

E. H. Prasetyo, “Digital platforms’ strategies in Indonesia: Navigating between technology and informal economy,” Technol. Soc., vol. 76, 2024, doi: 10.1016/j.techsoc.2023.102414.

D. Radyananda Barus et al., “Pengaruh Perkembangan Teknologi Informasi Terhadap Pasar Global,” J. Intelek Insa. Cendikia, vol. 1, no. 4, pp. 495–500, 2024, [Online]. Available: https://jicnusantara.com/index.php/jiic

O. : Melisa, T. Faisal, and M. I. Fasa, “PT. Media Akademik Publisher TRANSFORMASI DIGITAL: PERAN E-COMMERCE DALAM PERTUMBUHAN EKONOMI DIGITAL DI INDONESIA,” Jma), vol. 3, no. 4, pp. 3031–5220, 2025.

F. I. Santoso, PEMASARAN DIGITAL (Strategi Pemasaran Digital). 2024.

I. Isalman, F. Ramadhani I, I. Ilyas, and S. Sahdarullah, “Investigasi Faktor Pendukung Dan Penghambat Belanja Online Di Kota Kendari,” J. Ilm. Manaj. dan Bisnis, vol. 7, no. 1, pp. 30–46, 2022, doi: 10.38043/jimb.v7i1.3413.

S. Simatupang, D. Susanti, M. Butarbutar, K. Indajang, and R. M. Girsang, “Sistem Pembayaran Cash on Delivery Terhadap Keputusan Pembelian di Shopee,” Edunomika, vol. 8, no. 1, pp. 109–122, 2023.

R. Angel, “a Study on Online Shopping Behaviour Among Youth ‘a Study on Online Shopping Behaviour Among Youth,’” pp. 1–23, 2024.

Dani Lailatul Magviro and Yasid Amali, “Perlindungan Hukum Terhadap Kurir Paket Dalam Jual Beli Online Dengan Metode Pembayaran Cash on Delivery (Cod),” J. Sains Student Res., vol. 1, no. 1, pp. 1166–1173, 2023, doi: 10.61722/jssr.v1i1.449.

S. Stieglitz, M. Mirbabaie, B. Ross, and C. Neuberger, “Social media analytics – Challenges in topic discovery, data collection, and data preparation,” Int. J. Inf. Manage., vol. 39, no. October 2017, pp. 156–168, 2018, doi: 10.1016/j.ijinfomgt.2017.12.002.

A. W. Nugroho and A. A. G. S. Utama, “Business Intelligence Systems and Their Impact on Organizational Decision-Making and Performance Outcomes: Literature Review,” Owner, vol. 9, no. 2, pp. 1269–1284, 2025, doi: 10.33395/owner.v9i2.2646.

P. K. Sari, A. Alamsyah, and S. Wibowo, “Measuring e-Commerce service quality from online customer review using sentiment analysis,” J. Phys. Conf. Ser., vol. 971, no. 1, 2018, doi: 10.1088/1742-6596/971/1/012053.

M. F. Ramadhan, F. Panjaitan, and H. Oktafiandi, “Analisis Sentimen Kutipan Media Sosial Berbahasa Indonesia Menggunakan Convolutional Neural Network,” J. Komput. , Inf. dan Teknol., no. 2, pp. 1–17, 2025.

M. I. Adrian and E. A. Laksana, “Optimalisasi Parameter Support Vector Machine dengan Algoritma PSO untuk Tugas Klasifikasi Sentimen Ulasan IMDb,” J. Algoritm., vol. 22, no. 1, pp. 288–299, 2025, doi: 10.33364/algoritma/v.22-1.2306.

M. Wahiddianty, G. Firmasyah, H. A. Magister, and I. Komputer, “Analisis Sentimen Omnibus Law Pada Umkm Menggunakan Support Vector Machine, Naive Bayes Berbasis Particle Swarm Optimization,” J. Bisnis dan Manaj., vol. 3, no. 5, pp. 2477–178, 2023.

Normah, B. Rifai, S. Vambudi, and R. Maulana, “Analisa Sentimen Perkembangan Vtuber Dengan Metode Support Vector Machine Berbasis SMOTE,” J. Tek. Komput. AMIK BSI, vol. 8, no. 2, pp. 174–180, 2022, doi: 10.31294/jtk.v4i2.

M. Nizam Fadli, I. Sudahri Damanik, E. Irawan, S. Tunas Bangsa, and S. Utara, “KLIK: Kajian Ilmiah Informatika dan Komputer Penerapan Metode Naive Bayes Dalam Menentukan Tingkat Kenyamanan Pada Rumah Sakit Terhadap Pasien,” Media Online, vol. 2, no. 3, pp. 117–122, 2021, [Online]. Available: https://djournals.com/klik

K. Septia et al., “ANALISIS KESADARAN MAHASISWA TERHADAP PRIVASI DATA DENGAN,” vol. 17, no. c, pp. 29–37, 2026.

W. Silalahi and A. Hartanto, “Klasifikasi Sentimen Support Vector Machine Berbasis Optimasi Menyambut Pemilu 2024,” JRST (Jurnal Ris. Sains dan Teknol., vol. 7, no. 2, p. 245, 2023, doi: 10.30595/jrst.v7i2.18133.

Y. Omae, “Effects of Exploration Weight and Overtuned Kernel Parameters on Gaussian Process-Based Bayesian Optimization Search Performance,” Mathematics, vol. 11, no. 14, pp. 1–13, 2023, doi: 10.3390/math11143067.

A. Berlian Agustina, H. Permatasari, and J. Maulindar, “Analisis Sentimen Pada Ulasan Tempat Wisata Desa Ponggok Menggunakan Natural Language Processing,” Pros. Semin. Nas. Teknol. Inf. dan Bisnis, pp. 50–59, 2025, doi: 10.47701/s9qesx65.

J. D. Fernández, J. Vega, and S. Dormido-Canto, GAGS: parallelized genetic algorithm-based grid search for SVM + model optimization, vol. 32, no. 2. 2026. doi: 10.1007/s10732-026-09588-3.

M. Bérété, A. Echtioui, L. Sellami, and A. A. M. Ben Hmida, “Hybrid CNN + LSTM + SVM model for advanced brain tumor classification,” Netw. Model. Anal. Heal. Informatics Bioinforma., vol. 15, no. 1, pp. 1–23, 2026, doi: 10.1007/s13721-025-00718-8.

G. Urva, K. Azmi, and W. Desriyati, “Model Optimalisasi Pemilihan Ekstrakurikuler Menggunakan Algoritma Particle Swarm Optimization (PSO),” J. Algoritm., vol. 22, no. 2, pp. 268–276, 2025, doi: 10.33364/algoritma/v.22-2.2488.

T. Atha Anastasya, A. Diani Putri Saka, M. Juventus Dappa Deke, and A. Mustika Rizki, “Optimasi Algoritma Svm Dengan Pso Untuk Analisis Sentimen Pada Media Sosial X Terhadap Kinerja Timnas Di Era Shin Tae-Yong,” JATI (Jurnal Mhs. Tek. Inform., vol. 9, no. 1, pp. 384–391, 2024, doi: 10.36040/jati.v9i1.12298.

A. A. G. A. Pranandita and I. M. Widiartha, “Optimasi Metode Support Vector Machine (SVM) Mengunakan Particle Swarm Optimization pada Permasalahan Klasifikasi Diabetes,” J. Nas. Teknol. Inf. dan Apl., vol. 3, no. 4, pp. 879–888, 2025, [Online]. Available: https://ejournal2.unud.ac.id/index.php/jnatia/article/view/46

Wildan Nugraha and Mardi Hardjianto, “Optimasi Support Vector Machines (SVM) Menggunakan Particle Swarm Optimization (PSO) pada Analisis Sentimen Ulasan Pengguna Layanan Bukalapak di Twitter,” Decod. J. Pendidik. Teknol. Inf., vol. 4, no. 3, pp. 1082–1100, 2024, doi: 10.51454/decode.v4i3.686.

A. S. Rusydiana, I. Firmansyah, and L. Marlina, “Sentiment Analysis of Microtakaful Industry: Comparison between Indonesia and Malaysia,” Int. J. Nusant. Islam, vol. 6, no. 1, pp. 20–34, 2019, doi: 10.15575/ijni.v6i1.3004.

D. A. Kristiyanti, S. A. Sanjaya, Irmawati, K. Ekachandra, J. Suhali, and A. H. Umam, “Comparison of Salp Swarm Algorithm and Particle Swarm Optimization as Feature Selection Techniques for Recession Sentiment Analysis in Indonesia,” Int. J. Informatics Vis., vol. 9, no. 5, pp. 2080–2087, 2025, doi: 10.62527/joiv.9.5.3102.

N. F. Adhim and N. Cahyono, “Optimization of IndoBERT for Sentiment Analysis of FOMO on Social Media Through Fine-Tuning and Hybrid Labeling,” J. Appl. Informatics Comput., vol. 9, no. 6, pp. 3786–3797, 2025, doi: 10.30871/jaic.v9i6.11686.

Dimensions Badge
Published
2026-07-26
Section
Articles