Abstract
This research analyzes public feelings toward legislative members participating in online gambling applying the Naïve bayes classification technique. The collected data were processed, labeled, cleaned, preprocessed, and classified using RapidMiner Studio software, while conducting the sentiment analysis according to a systematic approach from each of those steps described above, namely, data crawling, cleaning, preprocessing, and classification of the Twitter data. Sentiment distribution yielded 286 negative and 90 positive sentiments with a prediction accuracy of 73.10%. These findings illustrate an overwhelmingly negative public response to this behavior and the expectation society has for legislators as public figures.
Article Details
How to Cite
Citation FormatReferences
12 References- Budiana, H. (2024). Public opinion dynamics on Twitter: A preliminary analysis of conversations related to the 2024 general election in Indonesia. Journal of Law and Sustainable Development, 12(1), e2132. https://doi.org/10.55908/sdgs.v12i1.2132
- Passi, K., & Motisariya, J. (2022). Twitter sentiment analysis of the 2019 Indian election. In Proceedings of the 2022 International Conference on Data Science and Applications (pp. 805-814). https://doi.org/10.1007/978-981-16-3945-6_79
- Pota, M., Esposito, M., Palomino, M., & Masala, G. (2018). A subword-based deep learning approach for sentiment analysis of political tweets. Proceedings of the 2018 World Congress on Artificial Intelligence (pp. 651-656). https://doi.org/10.1109/waina.2018.00162
- Jennings, F., Bramlett, J., McKinney, M., & Hardy, M. (2020). Tweeting along partisan lines: Identity-motivated elaboration and presidential debates. Social Media + Society, 6(4). https://doi.org/10.1177/2056305120965518
- Matuszewski, P., & Szabó, G. (2019). Are echo chambers based on partisanship? Twitter and political polarity in Poland and Hungary. Social Media + Society, 5(2). https://doi.org/10.1177/2056305119837671
- Karami, A., & Elkouri, A. (2019). Political popularity analysis in social media. Proceedings of the 2019 International Conference on Computational Politics (pp. 456-465). https://doi.org/10.1007/978-3-030-15742-5_44
- Peres-Neto, L. (2022). Journalist-twitterers as political influencers in Brazil: Narratives and disputes towards a new intermediary model. Media and Communication, 10(3), 28-38. https://doi.org/10.17645/mac.v10i3.5363
- Bruns, A., & Nuernbergk, C. (2019). Political journalists and their social media audiences: New power relations. Media and Communication, 7(1), 198-212. https://doi.org/10.17645/mac.v7i1.1759
- Siddha, A., & Wulandari, W. (2023). Deconstruction of Anies Baswedan’s political image on Twitter through the hashtag #aniesgabenerpembohong. JWP (Jurnal Wacana Politik), 8(1), 70. https://doi.org/10.24198/jwp.v8i1.45019
- Schumacher, N., Maurer, P., & Nuernbergk, C. (2021). Towards new standards? Interaction patterns of German political journalists in the Twittersphere. The International Journal of Press/Politics, 28(1), 257-277. https://doi.org/10.1177/19401612211025502
- Fino, E., Hanna-Khalil, B., & Griffiths, M. (2021). Exploring the public’s perception of gambling addiction on Twitter during the COVID-19 pandemic: Topic modelling and sentiment analysis. Journal of Addictive Diseases, 39(4), 489-503. https://doi.org/10.1080/10550887.2021.1897064
- Hing, N., Russell, A., Gainsbury, S., & Nuske, E. (2015). The public stigma of problem gambling: Its nature and relative intensity compared to other health conditions. Journal of Gambling Studies, 32(3), 847-864. https://doi.org/10.1007/s10899-015-9580-8
License
Copyright (c) 2024 Vivi Nurmaylina, Yuma Akbar

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
This is an open-access journal distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits unrestricted use, distribution, reproduction, and adaptation in any medium (even commercially), provided appropriate credit is given to the original author(s), a link to the license is provided, and any changes made are indicated. Authors retain copyright without restrictions and grant the journal the right of first publication as well as non-exclusive publishing rights for archiving, indexing, and scholarly dissemination.
Downloads
OJS UsageStats PluginSimilar Articles
- Sentiment Analysis of Food Poisoning Incidents in Indonesia's Free Nutritious Meal Program Using TF-IDF and SVM Muhammad Lucky Hermanto, Ari Wedhasmara, Ken Ditha Tania, Allsela Meiriza · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 6 No. 3 (2026): DECEMBER 2026
- Application of the Naive Bayes Algorithm in Twitter Sentiment Analysis of 2024 Vice Presidential Candidate Gibran Rakabuming Raka using Rapidminer Tasya Aisyah Amini, Kiki Setiawan · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 4 No. 1 (2024): APRIL 2024
- Social Media Sentiment Analysis of Twitter Regarding People's Housing Savings (TAPERA) Using Naïve Bayes Avry Liyanah Dewy, Mia Kamayani · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 5 No. 2 (2025): AUGUST 2025
- Sentiment Analysis of the Tapera Law on Platform X Using Naive Bayes Algorithm Dava Sevtiandra Bimantoro, Rasiban · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 4 No. 3 (2024): DECEMBER 2024
- Apache Spark for Business and Financial Data Engineering: A Systematic Literature Review Ahmad Bilal Almagribi, Bambang Purnomosidi Dwi Putranto · International Journal Software Engineering and Computer Science (IJSECS) · Vol. 5 No. 3 (2025): DECEMBER 2025
You may also start an advanced similarity search for this article.
Most read articles by the same author(s)
- Public Sentiment Analysis of the #KaburAjaDulu Hashtag Using a Combination of Support Vector Machine (SVM) and Random Forest Algorithms Muhammad Derry Oktaviandi, Yuma Akbar, Mesra Betty Yel · Vol. 6 No. 3 (2026): DECEMBER 2026
- Optimization of Data Security Protection with Full SSL Inspection on AWS Using FortiGate Virtual Appliance Yuma Akbar, Gipari Pradina Abdillah, Dadang Iskandar Mulyana, Sutisna Sutisna · Vol. 5 No. 2 (2025): AUGUST 2025
- Optimization of Bandwidth Management and Network Security Using PPPoE Method and Intrusion Detection Prevention System Muhammad Arham, Yuma Akbar · Vol. 5 No. 2 (2025): AUGUST 2025
- Automatic Purchase Order Classification Using SVM in POS System at Skus Mart Sri Lestari, Muhamad Zaeni Nadip, Yuma Akbar, Aditya Zakaria Hidayat, Raisah Fajri Aula · Vol. 5 No. 2 (2025): AUGUST 2025
- Implementation of RFM Analysis to Enhance Sales Patterns of Food and Beverages at Bonjour Café and Resto Using the Apriori Algorithm Julvan Marzuki Putra Sibarani, Yuma Akbar, Sutisna, Kiki Setiawan · Vol. 4 No. 3 (2024): DECEMBER 2024
Recommended Articles
Journal Transparency
Additional InformationLearn more about how this journal ensures quality, ethics, and transparency.