SENTIMENT ANALYSIS OF PUBLIC OPINION ON PRESIDENTIAL ADVISORY APPOINTMENTS USING NAIVE BAYES CLASSIFICATION

Authors

  • Edi Surya Negara Universitas Bina Darma
  • Rezki Syaputra Universitas Bina Darma
  • Deni Erlansyah Universitas Bina Darma
  • Ria Andryani Universitas Bina Darma
  • Prihambodo Hendro Saksono Universitas Bina Darma
  • Ferdi Aditya Universitas Bina Darma
  • Padel Mohammad Agam Universitas Bina Darma

DOI:

https://doi.org/10.22437/jiituj.v8i2.35254

Keywords:

Classification, Naïve Bayes, Sentiment Analysis, Twitter, Youtube

Abstract

Social media platforms such as Twitter, Facebook, and YouTube have become significant channels for public discourse, where users freely express opinions, including negative sentiments and hate speech. To better understand public opinion, particularly in politically charged contexts, sentiment analysis can classify user comments as either positive or negative. This study aims to analyze public sentiment regarding the formation of a special advisory team for President Jokowi, using a sentiment classification approach. The study employed a Naïve Bayes classifier to analyze sentiment from 3,000 comments gathered from Twitter, Facebook, and YouTube. The dataset was divided into 80% training data (used to train the model with known sentiment) and 20% test data. The Naïve Bayes algorithm was chosen for its simplicity and effectiveness in handling large datasets in text classification tasks. The Naive Bayes classification on sentiment analysis of public opinion regarding the appointment of presidential advisors achieved an overall accuracy of 71% in classifying the test data. Negative sentiment was classified with an accuracy of 71%, while positive sentiment was classified with an accuracy of 70%. The results demonstrate that the Naïve Bayes classifier is a viable method for sentiment analysis in political discourse, although the model's performance indicates room for improvement. The novelty of this research lies in its focus on sentiment analysis of public opinion specifically related to presidential advisory appointments, an area not yet extensively explored in sentiment analysis studies. This study contributes to the field by providing insights into the public’s perception of political decisions using machine learning techniques. The implications for future research include refining classification methods for better accuracy and applying the model to other political or governmental topics.

Downloads

Download data is not yet available.

Author Biographies

Edi Surya Negara, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

Rezki Syaputra, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

Deni Erlansyah, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

Ria Andryani, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

Prihambodo Hendro Saksono, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

Ferdi Aditya, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

Padel Mohammad Agam, Universitas Bina Darma

Data Science Interdisciplinaty Research Center, Universitas Bina Darma, Sumatera Selatan, Indonesia

References

Ali, I., Balta, M., & Papadopoulos, T. (2023). Social media platforms and social enterprise: Bibliometric analysis and systematic review. International Journal of Information Management, 69, 102510. https://doi.org/10.1016/J.IJINFOMGT.2022.102510.

Asrial, A., Syahrial, S., Kurniawan, D. A., Aldila, F. T., & Iqbal, M. (2023). Implementation of web-based character assessment on students' character outcomes: A review on perception and gender. JOTSE: Journal of Technology and Science Education, 13(1), 301-328. https://doi.org/10.3926/jotse.1564.

Asrial, A., Syahrial, S., Kurniawan, D. A., Putri, F. I., Perdana, R., Rahmi, R., Susbiyanto, S., & Aldila, F. T. (2024). E-Assessment for character evaluation in elementary schools. Qubahan Academic Journal, 4(3), 806-822. https://doi.org/10.48161/qaj.v4n3a595.

Bakshi, R. K., Kaur, N., Kaur, R., & Kaur, G. (2016). Opinion mining and sentiment analysis. 2016 3rd International Conference on Computing for Sustainable Global Development (INDIACom), 452–455.

Belkahla Driss, O., Mellouli, S., & Trabelsi, Z. (2019). From citizens to government policy-makers: Social media data analysis. Government Information Quarterly, 36(3), 560–570. https://doi.org/10.1016/J.GIQ.2019.05.002.

Chai, C. P. (2023). Comparison of text preprocessing methods. Natural Language Engineering, 29(3), 509–553. https://doi.org/10.1017/S1351324922000213.

Drus, Z., & Khalid, H. (2019). Sentiment analysis in social media and its application: Systematic literature review. Procedia Computer Science, 161, 707–714. https://doi.org/10.1016/J.PROCS.2019.11.174.

Fitriana, H., & Waswa, A. N. (2024). The influence of a realistic mathematics education approach on students’ mathematical problem solving ability. Interval: Indonesian Journal of Mathematical Education, 2(1), 29-35. https://doi.org/10.37251/ijome.v2i1.979.

Gaye, B., Zhang, D., & Wulamu, A. (2021). A tweet sentiment classification approach using a hybrid stacked ensemble technique. Information (Switzerland), 12(9). https://doi.org/10.3390/info12090374.

Habibi, M. W., Jiyane, L., & Ozsen, Z. (2024). Learning revolution: The positive impact of computer simulations on science achievement in madrasah ibtidaiyah. Journal of Educational Technology and Learning Creativity, 2(1), 13-19. https://doi.org/10.37251/jetlc.v2i1.976.

Hajiali, M. (2020). Big data and sentiment analysis: A comprehensive and systematic literature review. Concurrency and Computation: Practice and Experience, 32(14), e5671. https://doi.org/https://doi.org/10.1002/cpe.5671.

He, Y., & Zhou, D. (2011). Self-training from labeled features for sentiment analysis. Information Processing & Management, 47(4), 606–616. https://doi.org/10.1016/J.IPM.2010.11.003.

Ida, R., Saud, M., & Mashud, M. (2020). An empirical analysis of social media usage, political learning and participation among youth: a comparative study of Indonesia and Pakistan. Quality & Quantity, 54(4), 1285–1297. https://doi.org/10.1007/s11135-020-00985-9.

Junior, A. B., da Silva, N. F. F., Rosa, T. C., & Junior, C. G. C. (2021). Sentiment analysis with genetic programming. Information Sciences, 562, 116–135. https://doi.org/10.1016/J.INS.2021.01.025.

Krouska, A., Troussas, C., & Virvou, M. (2016). The effect of preprocessing techniques on Twitter sentiment analysis. 2016 7th International Conference on Information, Intelligence, Systems & Applications (IISA), 1–5. https://doi.org/10.1109/IISA.2016.7785373.

Kusuma, R. S. (2020). Improving students’ basic asking skills by using the discovery learning model. Tekno - Pedagogi : Jurnal Teknologi Pendidikan, 10(2), 8-13. https://doi.org/10.22437/teknopedagogi.v10i2.32743.

Landeghem, J. Van, Blaschko, M., Anckaert, B., & Moens, M.-F. (2022). Benchmarking scalable predictive uncertainty in text classification. IEEE Access, 10, 43703–43737. https://doi.org/10.1109/ACCESS.2022.3168734.

Li, Q., Yang, Y., Li, C., & Zhao, G. (2023). Energy vehicle user demand mining method based on fusion of online reviews and complaint information. Energy Reports, 9, 3120–3130. https://doi.org/10.1016/J.EGYR.2023.02.004.

Cahyaningati, K. L., & Vikaliana, R. (2021). Implementasi floyd warshall algorithm untuk optimasi distribusi J&T Express: Studi kasus pickup distribution center J&T Express pasar minggu [Implementation of Floyd Warshall Algorithm for J&T Express distribution optimization: Case study of J&T Express pickup distribution center pasar minggu]. Jurnal Ilmiah Ilmu Terapan Universitas Jambi, 5(1), 93-109. https://doi.org/10.22437/jiituj.v5i1.15416.

Munir, A. (2023). Leveraging Social Media Geographic Information for Smart Governance and Policy Making: Opportunities and Challenges. Global Perspectives on Social Media Usage Within Governments.

Masood, K., Khan, M. A., Saeed, U., Al Ghamdi, M. A., Asif, M., & Arfan, M. (2022). Semantic Analysis to Identify Students’ Feedback. The Computer Journal, 65(4), 918–925. https://doi.org/10.1093/comjnl/bxaa130.

Negara, E. S., Andryani, R., & Amanda, R. (2021). Network analysis of YouTube videos based on keyword search with graph centrality approach. Indonesian Journal of Electrical Engineering and Computer Science, 22(2), 780–786. https://doi.org/10.11591/ijeecs.v22.i2.pp780-786.

Nurhachita, & Negara, E. S. (2021). A comparison between deep learning, naïve bayes and random forest for the application of data mining on the admission of new students. IAES International Journal of Artificial Intelligence, 10(2), 324–331. https://doi.org/10.11591/ijai.v10.i2.pp324-331.

Park, J., & Oh, H. (2023). Dynamic Automated Labeling System for Real-Time User Intention Analysis. IEEE Access, 11, 139882–139902. https://doi.org/10.1109/ACCESS.2023.3339773.

Perdana, R. S., & Pinandito, A. (2018). Combining Likes-Retweet Analysis and Naive Bayes Classifier within Twitter for Sentiment Analysis.

Ravinder, B., Seeni, S. K., Prabhu, V. S., Asha, P., Maniraj, S. P., & Srinivasan, C. (2024). Web data mining with organized contents using naive bayes algorithm. 2024 2nd International Conference on Computer, Communication and Control (IC4), 1–6. https://doi.org/10.1109/IC457434.2024.10486403.

Respati, S., Isram, M., & Kusrini, S. (2022). Estimation of Queue Length at Signalized Intersections Using Artificial Neural Network, 6(2). https://doi.org/10.22437/jiituj.v6i2.22958.

Saif, H., Fernandez, M., & Alani, H. (2014). Automatic stopword generation using contextual semantics for sentiment analysis of twitter. In Language Resources and Evaluation. https://doi.org/10.13140/2.1.3523.8088.

Samuel, J., Ali, G. G. M. N., Rahman, M. M., Esawi, E., & Samuel, Y. (2020). COVID-19 public sentiment insights and machine learning for tweets classification. Information (Switzerland), 11(6). https://doi.org/10.3390/info11060314.

Saputro, H. D., Rustaminezhad, M. A., Amosa, A. A., & Jamebozorg, Z. (2023). Development of e-learning media using adobe flash program in a contextual learning model to improve students’ learning outcomes in junior high school geographical research steps materials. Journal of Educational Technology and Learning Creativity, 1(1), 25-32. https://doi.org/10.37251/jetlc.v1i1.621.

Sari, R., Omeiza, I. I., & Mwakifuna, M. A. (2023). The influence of number dice games in improving early childhood mathematical logic in early childhood education. Interval: Indonesian Journal of Mathematical Education, 1(2), 61-66. https://doi.org/10.37251/ijome.v1i2.776.

Seref, B., & Bostanci, E. (2018). Sentiment analysis using naive bayes and complement naive bayes classifier algorithms on hadoop framework. 2018 2nd International Symposium on Multidisciplinary Studies and Innovative Technologies (ISMSIT), 1–7. https://doi.org/10.1109/ISMSIT.2018.8567243.

Shahade, A. K., Walse, K. H., Thakare, V. M., & Atique, M. (2023). Multi-lingual opinion mining for social media discourses: an approach using deep learning based hybrid fine-tuned smith algorithm with adam optimizer. International Journal of Information Management Data Insights, 3(2), 100182. https://doi.org/10.1016/J.JJIMEI.2023.100182.

Su, L. Y.-F., Cacciatore, M. A., Liang, X., Brossard, D., Scheufele, D. A., & Xenos, M. A. (2017). Analyzing public sentiments online: combining human- and computer-based content analysis. Information, Communication & Society, 20(3), 406–427. https://doi.org/10.1080/1369118X.2016.1182197.

Suwarni, R. (2021). Analysis the process of observing class iv students in thematic learning in primary schools. Tekno - Pedagogi : Jurnal Teknologi Pendidikan, 11(1), 26-32. https://doi.org/10.22437/teknopedagogi.v11i1.32717.

Utami, N. W., & Saptiari, N. N. (2020). Penerapan data mining untuk klasifikasi penyebab kematian menggunakan algoritma support vector machine [Application of data mining for classification of causes of death using support vector machine algorithm]. Jurnal Ilmiah Ilmu Terapan Universitas Jambi, 4(2), 234-240. https://doi.org/10.22437/jiituj.v4i2.13268.

Utami, R. E., Johari, A., & Anggereini, E. (2023). Learning outcomes for students junior high school: Entrepreneurship-Based learning video. Integrated Science Education Journal, 4(2), 69-76. https://doi.org/10.37251/isej.v4i2.328.

Utami, S. M., Haryanto, H., & Subagyo, A. (2024). The development of electronic students’ worksheets (e-lkpd) based on argument driven inquiry learning model to improve scientific argumentation skills. Integrated Science Education Journal, 5(2), 65-73. https://doi.org/10.37251/isej.v5i2.810.

Weng, S., Schwarz, G., Schwarz, S., & Hardy, B. (2021). A Framework for Government Response to Social Media Participation in Public Policy Making: Evidence from China. International Journal of Public Administration, 44(16), 1424–1434. https://doi.org/10.1080/01900692.2020.1852569.

Yohanie, D. D., Botchway, G. A., Nkhwalume, A. A., & Arrazaki, M. (2023). Thinking process of mathematics education students in problem solving proof. Interval: Indonesian Journal of Mathematical Education, 1(1), 24-29. https://doi.org/10.37251/ijome.v1i1.611.

Zakiyah, Z., Boonma, K., & Collado, R. (2024). Physics learning innovation: Song and animation-based media as a learning solution for mirrors and lenses for junior high school students. Journal of Educational Technology and Learning Creativity, 2(2), 54-62. https://doi.org/10.37251/jetlc.v2i2.1062.

Downloads

Published

2024-11-10

How to Cite

Negara, E. S., Syaputra, R., Erlansyah, D., Andryani, R., Saksono, P. H., Aditya, F., & Agam, P. M. (2024). SENTIMENT ANALYSIS OF PUBLIC OPINION ON PRESIDENTIAL ADVISORY APPOINTMENTS USING NAIVE BAYES CLASSIFICATION. Jurnal Ilmiah Ilmu Terapan Universitas Jambi, 8(2), 452-466. https://doi.org/10.22437/jiituj.v8i2.35254