Journal of Information Systems and Informatics
Vol 8 No 5 (2026): October

Evaluation of TF-IDF and Word2Vec Representations Using Support Vector Machine for Multiclass Product Category Classification of Tokopedia Reviews

Anggi Dwi Septian (Universitas Amikom Purwokerto)
Primandani Arsi (Universitas Amikom Purwokerto)
Pungkas Subarkah (Universitas Amikom Purwokerto)



Article Info

Publish Date
24 Oct 2026

Abstract

As electronic commerce continues to expand, customer reviews have become an important source for automated text classification. This research evaluates and compares TF-IDF and Word2Vec representations for multiclass product category classification with Support Vector Machine (SVM). The experiment used the Tokopedia Product Reviews 2025 dataset containing 65,543 reviews across six product categories. After text preprocessing and keyword-based text refinement, 11,239 relevant reviews were retained. The dataset was divided into 80% training sets and 20% hold-out test sets. The reviews were transformed using TF-IDF and Word2Vec, while SMOTE was applied to the training data to handle the imbalance among product categories. Classification performance was assessed through five-fold cross-validation and a hold-out test set based on accuracy, macro precision, macro recall, and macro F1-score. Five-fold cross-validation showed that TF-IDF achieved mean accuracy, macro precision, macro recall, and macro F1-score of 95.95%, 93.13%, 92.78%, and 92.93%, respectively, compared with 90.80%, 84.58%, 86.02%, and 85.19% for Word2Vec. On the hold-out test set, TF-IDF achieved 95.42% accuracy and 91.88% macro F1-score, while Word2Vec achieved 91.01% and 84.91%, respectively. The Wilcoxon signed-rank test yielded a p-value of 0.0625, indicating no statistically significant difference at the 5% significance level. Nevertheless, TF-IDF consistently achieved higher descriptive performance than Word2Vec.

Copyrights © 2026






Journal Info

Abbrev

isi

Publisher

Subject

Computer Science & IT

Description

Journal-ISI is a scientific article journal that is the result of ideas, great and original thoughts about the latest research and technological developments covering the fields of information systems, information technology, informatics engineering, and computer science, and industrial engineering ...