Analyzing Public Sentiment Toward Probolinggo UMKM Products on TikTok Through Naïve Bayes Classification and Data Visualization
Abstract
The development of social media, particularly TikTok, has become one of the main platforms for the public to provide opinions and reviews on MSME products. This research aims to analyze public sentiment towards MSME products in Probolinggo based on user comments on TikTok using the Naïve Bayes Classification method. Research data was obtained through scraping TikTok comments, followed by preprocessing steps including cleaning text, case folding, tokenizing, stopword removal, and stemming. The data was then labeled as positive, neutral, and negative sentiment before feature extraction using TF-IDF. The classification process was carried out using the Naïve Bayes algorithm combined with SMOTE on training data to overcome class imbalance, and evaluated using pure test data. The results showed that the Naïve Bayes method was able to classify sentiment with a final accuracy rate of 66.67%. The analysis showed that neutral sentiment dominated public opinion with 365 comments (47.04%), followed by positive sentiment with 341 comments (43.94%) and negative sentiment with 70 comments (9.02%). Data visualization indicated that most users responded very positively to MSME Probolinggo products on TikTok. This research is expected to help MSME actors understand consumer perceptions and improve digital marketing strategies based on social media
Copyright (c) 2026 Umi Diantika, Wahyu Nofiyan Hadi, Anisa Nurul Wilda, Moh. Fadel, Muhammad Ichsan, Rojil Ghufron, Syifa Ayu Mika Bahrul, Arya Dwi Nugraha, Sischa Wahyuning Tyas

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.



