Public Sentiment Analysis of Age Restriction Regulations for Social Media Users in Indonesia Using the Naive Bayes Algorithm
Abstract
Social media in Indonesia has experienced rapid growth and is used by people of all ages, including children and adolescents. The government plans to implement age restrictions for social media users to reduce the negative impact of social media use on minors. This policy has sparked various public reactions, which have been expressed through social media platforms. This study aims to analyze public sentiment toward age restriction regulations for social media users in Indonesia using the Naive Bayes method. Research data was obtained from public comments and opinions on social media, which were then processed through preprocessing, classification, and sentiment analysis stages. The results show that the Naive Bayes method is capable of classifying sentiment data into positive and negative categories with adequate accuracy. It is hoped that this analysis will help the government understand public responses to the policy to be implemented.
Full text article
Authors
Copyright (c) 2026 Marsindra, Samuel, Sri, jesen, Rido

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright is retained by the authors.
Published articles may be used under the Creative Commons Attribution 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format;
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.