Jul 2026· Journal of Intelligent Decision Making and Information Science· Vol 3, pp. 01-20· 0 citations· 49 references
TL;DR
A comparative analysis of user sentiment on X regarding public opinion on stunting using three widely utilized text classification algorithms: K-Nearest Neighbour, Naïve Bayes, and Decision Tree demonstrates the effectiveness of the Naïve Bayes algorithm for sentiment analysis in public health contexts.
Abstract
Stunting is a critical public health issue, particularly in developing countries, with long-term impacts on physical and cognitive development due to chronic malnutrition. In the digital era, public sentiment, and opinion on stunting, as reflected on social media platforms, can provide valuable insights for policymakers and healthcare providers. However, there has been limited research combining multiple machine-learning algorithms for sentiment analysis on this topic. This study aims to conduct a comparative analysis of user sentiment on X regarding public opinion on stunting using three widely utilized text classification algorithms: K-Nearest Neighbour (KNN), Naïve Bayes, and Decision Tree. The research involves collecting and annotating sentiment data (positive, negative, neutral) from social media platforms like Twitter and X, followed by model training and evaluation using metrics such as accuracy, precision, recall, and F1-score. Results from the analysis of 1227 data points (2023-2024) with an 80:20 train-test split revealed that Naïve Bayes achieved the highest accuracy at 87.18%, followed by Decision Tree at 79.83%, and KNN at 57.56%. Meanwhile, a comparison using a 70:30 train-test split yielded similar results, with Naïve Bayes achieving 86.41%, Decision Tree 78.41%, and KNN 54.48%. The study demonstrates the effectiveness of the Naïve Bayes algorithm for sentiment analysis in public health contexts, offering a novel approach to understanding public opinion on stunting. By leveraging social media data, this research provides real-time insights that can guide policy and public health interventions. Furthermore, the comparative analysis of algorithms provides valuable knowledge on the most effective models for sentiment analysis in complex, sentiment-driven public health issues. The study emphasizes the role of machine learning in addressing malnutrition and stunting through data-driven policy decisions.
The rapid growth of social media platforms, especially Twitter (now rebranded as X), has made it a rich source for public opinion mining. This study focuses on analyzing public sentiment toward the animated “film Jumbo" by applying the Naïve Bayes Classifier algorithm to Twitter data. The research involves collecting t...
Nurasiah, Latifah Nur Zam Zami, Yunianto Agung Nugroho· JITK (Jurnal Ilmu Pengetahua...· 0 citations
Sentiment analysis was conducted to examine public perceptions of the Free Nutritious Meal (Makan Bergizi Gratis, MBG) Program and identify prevailing opinion trends surrounding the policy. The analysis was initially conducted on 5,118 social media posts collected from X (formerly Twitter). After the preprocessing stag...
Syarifah Putri Agustini Alkadri, Rhendy Billnadzary Al Abrari, Rachmat Wahid Saleh Insani· Journal of Renewable Energy...· 0 citations
The research stages include a preprocessing process consisting of cleaning, case folding, tokenizing, normalization, stopword removal, and stemming. Furthermore, the TF-IDF method is used to extract text features so that the data can be represented in numerical form. The dataset was then divided into training data and...
Olinda Nathaniel Mendrofa, Deva Angriani, E. Ompusunggu· Formosa Journal of Computer...· 0 citations
Plastic waste has become a critical environmental challenge due to increasing consumption patterns and inadequate waste management practices. Understanding public perceptions of plastic waste issues is essential for supporting environmental awareness and policy development. Social Media X provides a large-scale and rea...
Ary Kania Sya'diah, Muhammad Arifin, Pratomo Setiaji· Journal of Information Syste...· 0 citations
The Free Nutritious Meal (MBG) Program is an Indonesian government initiative to improve nutritional quality and support human resource development. As a public policy, it has generated diverse public responses on social media, particularly TikTok. The novelty of this study lies in utilizing TikTok comments, which rema...
The Makan Bergizi Gratis Program (MBG) became one of the widely discussed public issues on platform X and generated diverse responses from users. These responses included supportive, critical, and neutral opinions, making sentiment analysis relevant for understanding public opinion toward the program. This study compar...
Andika, Julio Cesar Alessandro, Adjie Perkasa Tarigan et al.· Bulletin of Intelligent Mach...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.