Application of Sentiment Analysis on Product Reviews of the Binjai Langkat Buket Shop to Improve Customer Service using the Naive Bayes Method

Authors

  • Windi Amelia STMIK Kaputama
  • Rahmadani STMIK KAPUTAMA
  • Husnul Khair STMIK KAPUTAMA

DOI:

https://doi.org/10.59934/jaiea.v5i1.1654

Keywords:

Sentiment_analysis, Naïve_Bayes, TF-IDF, Classification, Customer_reviews

Abstract

In the digital era, customer reviews are spread across various social media and e-commerce platforms, posing a challenge for micro-businesses to evaluate sentiment efficiently. This study aims to develop an automated sentiment analysis system for product reviews of Toko Buket Binjai Langkat using the Term Frequency-Inverse Document Frequency (TF-IDF) method for feature extraction and the Naive Bayes algorithm for positive, negative, and neutral sentiment classification. Data were collected through web scraping techniques and processed with preprocessing stages such as case folding, stopword removal, and stemming. The model was trained and tested with a 70:30 data split and evaluated using accuracy, precision, recall, and F1-score metrics. The test results showed that the model's accuracy reached 91%, with the best performance on positive sentiment (precision 0.89, recall 1.00, F1-score 0.94), but there were limitations in detecting negative sentiment (recall 0.42) due to data imbalance. This study provides practical contributions for micro-businesses in understanding customer opinions and formulating data-driven service improvement strategies.

Downloads

Download data is not yet available.

References

Y. Safrina, “ANALISIS PERBANDINGAN METODE NAÏVE BAYES DENGAN FORWARD CHAINING PADA SISTEM PAKAR DIAGNOSA KANKER SERVIK,” Jurnal Sistem Informasi Kaputama (JSIK), vol. 9, no. 2, 2025.

C. H. Yutika, A. Adiwijaya, and S. Al Faraby, “Analisis Sentimen Berbasis Aspek pada Review Female Daily Menggunakan TF-IDF dan Naïve Bayes,” JURNAL MEDIA INFORMATIKA BUDIDARMA, vol. 5, no. 2, p. 422, Apr. 2021, doi: 10.30865/mib.v5i2.2845.

B. Gunawan, H. Sasty, P. #2, E. Esyudha, and P. #3, “JEPIN (Jurnal Edukasi dan Penelitian Informatika) Sistem Analisis Sentimen pada Ulasan Produk Menggunakan Metode Naive Bayes,” vol. 4, no. 2, pp. 17–29, 2018, [Online]. Available: www.femaledaily.com

H. Ardian and S. Kosasi, “Analisis Sentimen Pada Review Produk Kosmetik Bahasa Indonesia Dengan Metode Naive Bayes 306 Jurnal ENTERJuly201xIJCCS Analisis Sentimen Pada Review Produk Kosmetik Bahasa Indonesia Dengan Metode Naive Bayes,” Aug. 2019.

L. Dey, S. Chakraborty, A. Biswas, B. Bose, and S. Tiwari, “Sentiment Analysis of Review Datasets Using Naïve Bayes‘ and K-NN Classifier,” International Journal of Information Engineering and Electronic Business, vol. 8, no. 4, pp. 54–62, Jul. 2016, doi: 10.5815/ijieeb.2016.04.07.

M. F. Ramadhan, “Klasifikasi Topik dan Sentimen Judul Berita dengan Augmentasi dan TF-IDF,” RIGGS: Journal of Artificial Intelligence and Digital Business, vol. 4, no. 2, pp. 6732–6741, Jul. 2025, doi: 10.31004/riggs.v4i2.1692.

S. Masripah and L. D. Utami, “Algoritma Klasifikasi Naïve Bayes untuk Analisa Sentimen Aplikasi Shopee,” Diterima Agustus, vol. 8, no. 2, 2020, doi: 10.1142/978981310045.

Melisa Nur Aini, Rita Yulfani, and Nurul Jariah, “Penerapan Metode Naïve Bayes Untuk Analisis Sentimen Ulasan Produk Sunscreen Berdasarkan Female Daily Review,” Jurnal Multimedia dan Teknologi Informasi (Jatilima), vol. 6, no. 01, pp. 24–34, Mar. 2024, doi: 10.54209/jatilima.v6i01.421.

Downloads

Published

2025-10-15

How to Cite

Amelia, W., Rahmadani, & Husnul Khair. (2025). Application of Sentiment Analysis on Product Reviews of the Binjai Langkat Buket Shop to Improve Customer Service using the Naive Bayes Method. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 5(1), 1478–1488. https://doi.org/10.59934/jaiea.v5i1.1654