The Indonesian Journal of Computer Science
Vol. 15 No. 1 (2026): The Indonesian Journal of Computer Science

Analisis Sentimen Pada Ulasan Pengguna Platform E-commerce Menggunakan Algoritma K-Nearest Neighbor

Tandiapa, Saron (Unknown)
Rorimpandey, Gladly Caren (Unknown)



Article Info

Publish Date
21 Feb 2026

Abstract

The development of e-commerce in Indonesia offers significant opportunities for MSMEs, yet the multitude of platform choices makes it difficult for them to determine the most suitable one. This study aims to analyze the user review sentiments toward five major e-commerce platforms (Shopee, Tokopedia, Lazada, Blibli, and Bukalapak) using the K-Nearest Neighbor (KNN) algorithm. A total of 5,995 reviews were collected from the Google Play Store via web scraping, then processed through pre-processing steps (such as case folding, tokenization, and stemming). Reviews were classified into positive, negative, and neutral sentiments using a lexicon-based approach, with Term Frequency-Inverse Document Frequency (TF-IDF) as the vectorization technique. The results show that Blibli has the highest KNN accuracy (64%), while the highest positive sentiment was achieved by Lazada with an F1-score of 54%. The research also developed a web-based application to help MSMEs analyze user sentiment across various e-commerce platforms.

Copyrights © 2026






Journal Info

Abbrev

ijcs

Publisher

Subject

Computer Science & IT Electrical & Electronics Engineering Engineering

Description

The Indonesian Journal of Computer Science (IJCS) is a bimonthly peer-reviewed journal published by AI Society and STMIK Indonesia. IJCS editions will be published at the end of February, April, June, August, October and December. The scope of IJCS includes general computer science, information ...