Prosiding Seminar Nasional Ilmu Teknik
Vol. 2 No. 2 (2025): Desember: Prosiding Seminar Nasional Ilmu Teknik

Klasifikasi Sentimen Ulasan Produk Olahraga di Tokopedia Menggunakan Metode Machine Learning dengan Pendekatan TF-IDF




Article Info

Publish Date
30 Dec 2025

Abstract

The rapid growth of e-commerce platforms in Indonesia, particularly Tokopedia, has resulted in a large volume of consumer reviews containing valuable information regarding customer perceptions and satisfaction. However, manual analysis of such reviews is inefficient and prone to subjectivity, necessitating an automated approach based on machine learning. This study aims to classify the sentiment of sports product reviews on Tokopedia into positive, negative, and neutral categories by applying Logistic Regression, Support Vector Machine (SVM), and Random Forest using the Term Frequency–Inverse Document Frequency (TF-IDF) approach. The data were collected through web scraping of Indonesian-language sports product reviews and processed through several preprocessing stages, including data cleaning, case folding, tokenization, stopword removal, and stemming. Feature representation was performed using TF-IDF to transform textual data into numerical vectors, after which the dataset was divided into training and testing sets with an 80:20 ratio. Model performance was evaluated using accuracy, precision, recall, and F1-score metrics. The results indicate that the application of TF-IDF significantly improves the performance of all models, with SVM consistently achieving the most optimal performance compared to Logistic Regression and Random Forest. These findings demonstrate that classical machine learning algorithms combined with TF-IDF remain highly effective for sentiment analysis of Indonesian-language text. The implications of this study are expected to assist sellers in understanding customer opinions, support consumers in making informed purchasing decisions, and serve as a foundation for the development of sentiment analysis and recommendation systems on e-commerce platforms.

Copyrights © 2025






Journal Info

Abbrev

PROSEMNASPROIT

Publisher

Subject

Civil Engineering, Building, Construction & Architecture Computer Science & IT Electrical & Electronics Engineering Engineering

Description

Prosiding Seminar Nasional Ilmu Teknik, Its a collection of papers or scientific articles that have been presented at the National Research Conference which is held regularly every two years by the Asosiasi Riset Ilmu Teknik Indonesia. The paper topics published in the Prosiding Seminar Nasional ...