Customer Sentiment Analysis Toward MSME Products On Tiktok Social Media Using Naive Bayes Algorithm

  • Muhammad Husni Rifqo Universitas Muhammadiyah Bengkulu
  • Elezah Syafitri Universitas Muhammadiyah Bengkulu
  • Khairullah Khairullah Universitas Muhammadiyah Bengkulu
  • Ujang Juhardi Universitas Muhammadiyah Bengkulu
Keywords: Sentiment Analysis, TikTok, MSME, Naive Bayes, Preprocessing, TF-IDF

Abstract

This The rapid growth of TikTok social media has made it an effective digital promotion medium for Micro, Small, and Medium Enterprises (MSME). —The large number of comments left by users serves as a valuable source of information to measure customer perception and satisfaction. However, the characteristics of social media text, which are unstructured, informal, and contain slang and emojis, make manual analysis difficult. This study aims to classify customer review sentiments regarding MSME food products on TikTok into positive, negative, and neutral categories using the Multinomial Naive Bayes algorithm. The dataset consists of 1,041 clean comment entries collected via web scraping. Text preprocessing steps include case folding, slang normalization, stopword removal, and the removal of empty and duplicate data. Sentiment labeling was conducted using a lexicon-based approach, while feature weighting was performed using Term Frequency-Inverse Document Frequency (TF-IDF). The dataset was split into an 80% training set (832 data points) and a 20% testing set (209 data points). The model performance evaluation showed that the Naive Bayes algorithm achieved an overall accuracy rate of 75.60%. The model demonstrated high performance on the neutral class with an F1-score of 0.85 and a precision of 1.00 for the positive class. This research provides a practical contribution for MSME owners in evaluating customer feedback and developing more responsive digital marketing strategies‖.

Downloads

Download data is not yet available.
Published
2026-10-28
How to Cite
Rifqo, M., Syafitri, E., Khairullah, K., & Juhardi, U. (2026). Customer Sentiment Analysis Toward MSME Products On Tiktok Social Media Using Naive Bayes Algorithm. Jurnal Media Computer Science, 5(4), 1797-1802. https://doi.org/10.37676/jmcs.v5i4.12712
Section
Articles

Most read articles by the same author(s)

<< < 1 2 3 4 5