Jurnal Teknologi Informasi dan Pendidikan
Vol. 19 No. 1 (2026): Jurnal Teknologi Informasi dan Pendidikan

Sentiment Analysis of Free Nutritious Meal Programs Using Naïve Bayes on Platforms X and TikTok

Fadila Ullul Azmie (Unknown)
Yudie Irawan (Unknown)
R.Rhoedy Setiawan (Unknown)



Article Info

Publish Date
07 Mar 2026

Abstract

This study analyzes public sentiment toward the Free Nutritious Meal Program (MBG) using the Multinomial Naive Bayes algorithm on data from X (Twitter) and TikTok. A total of 5,173 entries were collected through web scraping and processed with cleaning, normalization, tokenization, stopword removal, and stemming. To address class imbalance, SMOTE was applied, and evaluation employed accuracy, precision, recall, F1-score, and AUC-ROC. Results show that without SMOTE, the model tended to be biased toward the majority class, especially on TikTok, while after SMOTE recall increased significantly and a better balance between precision and recall was achieved. On Twitter, performance was more stable with a moderate class distribution, and SMOTE further improved sensitivity to positive sentiment. Word cloud analysis revealed differences across platforms: TikTok leaned more toward negative sentiment with dominant words such as “racun,” “korupsi,” and “dapur,” while Twitter showed a stronger balance with positive terms like “gizi,” “gratis,” and “program.” These findings highlight the importance of cross-platform analysis to comprehensively understand public perceptions.

Copyrights © 2026






Journal Info

Abbrev

tip

Publisher

Subject

Computer Science & IT Control & Systems Engineering Education Engineering

Description

Jurnal Teknologi Informasi dan Pendidikan (JTIP) is a scientific journal managed by Universitas Negeri Padang and in collaboration with APTEKINDO, born from 2008. JTIP publishes scientific research articles that discuss all fields of computer science and all related to computers. JTIP is published ...