Fahma : Jurnal Informatika Komputer, Bisnis dan Manajemen
Vol 24 No 3 (2026): September 2026

Perbandingan Naïve Bayes dan Support Vector Machine pada Klasifikasi Sentimen Tokopedia Di Playstore

Igo Fiqi Nurwahid (STMIK EL RAHMA Yogyakarta)
Untung Subagyo (STMIK EL RAHMA Yogyakarta)



Article Info

Publish Date
30 Sep 2026

Abstract

Tokopedia is one of the largest e-commerce platforms in Indonesia, generating a growing number of user reviews that makes manual sentiment analysis inefficient. This study compares the performance of Naïve Bayes and Support Vector Machine (SVM) in classifying sentiment in Tokopedia application reviews. Data were collected using the google-play-scraper library and automatically labeled based on user ratings, with ratings of 1–2 classified as negative and 4–5 as positive. After preprocessing, including case folding, cleaning, tokenization, stopword removal, and stemming using Sastrawi, 1,212 reviews were obtained, comprising 609 negative and 603 positive reviews. Text features were extracted using TF-IDF, and the models were evaluated using 5-fold cross-validation. With default parameters, Naïve Bayes and SVM achieved accuracies of 75.99% and 74.83%, respectively. After GridSearchCV tuning, Naïve Bayes achieved 76.65% accuracy and 73.28% F1-score, while SVM achieved 77.81% accuracy and 76.51% F1-score. These results show that hyperparameter tuning affects model comparison, with tuned SVM slightly outperforming Naïve Bayes.

Copyrights © 2026






Journal Info

Abbrev

fahma

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Engineering

Description

Jurnal FAHMA adalah jurnal yang memuat naskah ilmiah dari peneliti, akademisi, maupun praktisi, berupa hasil penelitian, tinjauan pustaka ( literature review ) dan/atau bentuk karya tulis ilmiah lainnya, yang khusus mengkaji bidang Ilmu Komputer antara lain sebagai berikut : Kecerdasan Buatan, ...