RABIT: Jurnal Teknologi dan Sistem Informasi Univrab
Vol 11 No 1 (2026): Januari

ANALISIS PERBANDINGAN KINERJA ALGORITMA SVM, NAÏVE BAYES, DAN KNN DALAM KLASIFIKASI SENTIMEN ULASAN APLIKASI PINTEREST DENGAN SMOTE DAN PSO

Muhamad Dimas Firmansyah (universitas muria kudus)
R. Rhoedy Setiawan (Universitas Muria Kudus)
Yudie Irawan (Universitas Muria Kudus)



Article Info

Publish Date
11 Jan 2026

Abstract

The rapid growth of social media usage has led to a continuous increase in the volume of user reviews, necessitating automated analysis based on machine learning techniques. This study focuses on the development of a sentiment classification model for Pinterest application reviews on the Google Play Store by evaluating three algorithms: Support Vector Machine (SVM), Naïve Bayes, and K-Nearest Neighbors (KNN), combined with Synthetic Minority Oversampling Technique (SMOTE) and Particle Swarm Optimization (PSO). A total of 10,000 reviews were collected through web scraping and processed through preprocessing stages, lexicon-based labeling using InSet, TF-IDF feature extraction, and an 80:20 data split. SMOTE was first applied to balance the class distribution, followed by PSO for parameter optimization of each classification algorithm. The experimental results indicate that SVM achieved the best performance, attaining 95% accuracy with a more balanced F1-score after the application of SMOTE and PSO, while Naïve Bayes and KNN remained sensitive to class imbalance. As the final output, this study developed a Streamlit-based prediction dashboard to display sentiment results in real time, thereby supporting practical and efficient analysis of user perceptions. These findings confirm the effectiveness of combining SVM, SMOTE, and PSO as an optimal approach for sentiment classification on imbalanced review data.  

Copyrights © 2026






Journal Info

Abbrev

rabit

Publisher

Subject

Computer Science & IT Engineering

Description

This journal is called RABIT, where the name comes from two words namely, RAB which means Abdurrab University and IT which means information technology, it can be interpreted as a journal of this journal Journal of Informatics Engineering Study Program Pekanbaru Abdurrab University. This RABIT ...