Machine Learning and Transformer-based Model for Sentiment Analysis of Indonesian E-Commerce Reviews

The growth of e-commerce in Indonesia has produced a large volume of user-generated reviews, which contain valuable knowledge for business decisions. However, analyzing this unstructured text data manually is inefficient. The purpose of this study is to improve the performance of sentiment classification on Indonesian e-commerce reviews using machine learning and transformer-based models. The test method is carried out using a public e-commerce review dataset. Three models are evaluated: Multinomial Naïve Bayes, Support Vector Machine (SVM), and IndoBERT. For machine learning models, text pre-processing is performed, and features are extracted using TF-IDF. For the transformer-based model, a fine-tuning approach is used. The results show that the IndoBERT model produces better classification accuracy than the other tested models. For the given dataset, this method obtains 94,1% in accuracy, outperforming both SVM (89,5%) and Multinomial Naïve Bayes (84,2%). The IndoBERT model, despite its higher computational cost, is the most effective for this classification task.

Authors

Institutions

Publication Details

Journal
Indonesian Journal of Computer Science
Published
2025-08-30
DOI
https://doi.org/10.33022/ijcs.v14i4.4980
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning and Transformer-based Model for Sentiment Analysis of Indonesian E-Commerce Reviews

Mohammad Faizal Ahmad Fauzi, Wahyu Widyananda, Maskur Maskur
Indonesian Journal of Computer Science
Sentiment Analysis and Opinion Mining
article

Machine Learning and Transformer-based Model for Sentiment Analysis of Indonesian E-Commerce Reviews

Mohammad Faizal Ahmad Fauzi, Wahyu Widyananda, Maskur Maskur
article en

Abstract

The growth of e-commerce in Indonesia has produced a large volume of user-generated reviews, which contain valuable knowledge for business decisions. However, analyzing this unstructured text data manually is inefficient. The purpose of this study is to improve the performance of sentiment classification on Indonesian e-commerce reviews using machine learning and transformer-based models. The test method is carried out using a public e-commerce review dataset. Three models are evaluated: Multinomial Naïve Bayes, Support Vector Machine (SVM), and IndoBERT. For machine learning models, text pre-processing is performed, and features are extracted using TF-IDF. For the transformer-based model, a fine-tuning approach is used. The results show that the IndoBERT model produces better classification accuracy than the other tested models. For the given dataset, this method obtains 94,1% in accuracy, outperforming both SVM (89,5%) and Multinomial Naïve Bayes (84,2%). The IndoBERT model, despite its higher computational cost, is the most effective for this classification task.

Indonesian Journal of Computer ScienceVol. 14(4)
State University of Malang (ID)
Openalex Percentile: Top 88%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Machine Learning and Transformer-based Model for Sentiment Analysis of Indonesian E-Commerce Reviews — Mohammad Faizal Ahmad Fauzi, Wahyu Widyananda, et al. · Indonesian Journal of Computer Science (2025) | TGRS Research Map | TGRS