Jurnal Algoritma
Vol 23 No 1 (2026): Jurnal Algoritma

Analisis Sentimen Ulasan Produk Marketplace Indonesia Menggunakan Naive Bayes dan SVM dengan Label Berdasarkan Rating

Levi Ardin Gulo (Universitas Ngudi Waluyo)
Agung Wibowo (Universitas Ngudi Waluyo)



Article Info

Publish Date
31 May 2026

Abstract

Sentiment analysis aims to identify user opinions about products on marketplaces such as Shopee and Tokopedia. This study classifies product review sentiment using Naive Bayes (NB) and Support Vector Machine (SVM). The dataset underwent text preprocessing, including case folding, tokenization, stopword removal, and stemming, then was represented using TF-IDF. The results show that Support Vector Machine (SVM) achieved the highest accuracy of 94.54%, but had a very low negative class recall (5.71%), indicating a strong bias towards the majority class. In contrast, Naïve Bayes (NB) recorded a lower accuracy of 67.88%, but showed more balanced performance with a negative class recall of 48.57%. Conversely, NB provided more balanced performance between positive and negative classes despite its slightly lower accuracy. These findings emphasize the importance of considering class imbalance in sentiment analysis, especially for applications that require consumer complaint detection. This research is expected to serve as a reference for the development of automatic sentiment analysis systems on marketplace platforms with a focus on performance balance between classes.

Copyrights © 2026






Journal Info

Abbrev

algoritma

Publisher

Subject

Computer Science & IT

Description

Jurnal Algoritma merupakan jurnal yang digunakan untuk mempublikasikan hasil penelitian dalam bidang Teknologi Informasi (TI), Sistem Informasi (SI), dan Rekayasa Perangkat Lunak (RPL), Multimedia (MM), dan Ilmu Komputer (Computer ...