PERBANDINGAN ALGORITMA NAIVE BAYES & K-NEAREST NEIGHBORS (KNN) DALAM ANALISIS SENTIMEN ULASAN PRODUK TOKOPEDIA

This study conducts a comparative performance analysis of two widely utilized classification algorithms, Naive Bayes and K-Nearest Neighbors (KNN), in the context of customer satisfaction analysis based on product reviews from the Tokopedia e-commerce platform. Customer-generated reviews serve as a critical factor in shaping product reputation and perceived quality, while also influencing the purchasing behavior of prospective buyers.The methodology encompasses data collection of product reviews from Tokopedia, followed by a comprehensive preprocessing pipeline, including text cleaning, tokenization, and stemming. The processed reviews are then categorized into two sentiment classes-positive and negative-employing both Naive Bayes and KNN algorithms.The performance of these algorithms is evaluated using standard classification metrics: accuracy,recall,F1-score dan precision. Empirical results demonstrate that Naive Bayes yields superior accuracy in classifying product sentiments compared to KNN.This research offers practical insights for e-commerce businesses in selecting suitable machine learning techniques for sentiment analysis to better understand customer feedback and enhance satisfaction. Moreover, the study contributes to the academic discourse by highlighting the strengths and limitations of each algorithm, and provides recommendations for future research in developing effective sentiment classification frameworks for customer satisfaction measurement.

Publication Details

Journal
Jurnal Teknik Informasi dan Komputer (Tekinkom)
Published
2025-06-30
DOI
https://doi.org/10.37600/tekinkom.v8i1.1983
Primary Topic
Geochemistry and Geologic Mapping
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PERBANDINGAN ALGORITMA NAIVE BAYES & K-NEAREST NEIGHBORS (KNN) DALAM ANALISIS SENTIMEN ULASAN PRODUK TOKOPEDIA

Jurnal Teknik Informasi dan Komputer (Tekinkom)
Geochemistry and Geologic Mapping
article

PERBANDINGAN ALGORITMA NAIVE BAYES & K-NEAREST NEIGHBORS (KNN) DALAM ANALISIS SENTIMEN ULASAN PRODUK TOKOPEDIA

article en

Abstract

This study conducts a comparative performance analysis of two widely utilized classification algorithms, Naive Bayes and K-Nearest Neighbors (KNN), in the context of customer satisfaction analysis based on product reviews from the Tokopedia e-commerce platform. Customer-generated reviews serve as a critical factor in shaping product reputation and perceived quality, while also influencing the purchasing behavior of prospective buyers.The methodology encompasses data collection of product reviews from Tokopedia, followed by a comprehensive preprocessing pipeline, including text cleaning, tokenization, and stemming. The processed reviews are then categorized into two sentiment classes-positive and negative-employing both Naive Bayes and KNN algorithms.The performance of these algorithms is evaluated using standard classification metrics: accuracy,recall,F1-score dan precision. Empirical results demonstrate that Naive Bayes yields superior accuracy in classifying product sentiments compared to KNN.This research offers practical insights for e-commerce businesses in selecting suitable machine learning techniques for sentiment analysis to better understand customer feedback and enhance satisfaction. Moreover, the study contributes to the academic discourse by highlighting the strengths and limitations of each algorithm, and provides recommendations for future research in developing effective sentiment classification frameworks for customer satisfaction measurement.

Jurnal Teknik Informasi dan Komputer (Tekinkom)Vol. 8(1)
Industry, innovation and infrastructure
Openalex Percentile: Top 33%
Geochemistry and Geologic Mapping
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.