Analisis Sentimen Publik Terhadap Kebijakan Efisiensi Anggaran Menggunakan Naive Bayes, dan SVM

Authors

  • Elin Tamaya Universitas Dinamika Bangsa
  • Sharipuddin Sharipuddin Universitas Dinamika Bangsa
  • Nurhadi Nurhadi Universitas Dinamika Bangsa

DOI:

https://doi.org/10.61132/prosemnasproit.v2i2.170

Keywords:

Analisis Sentimen, Efisiensi Anggaran, Media Sosial, Naive Bayes, Support Vector Machine

Abstract

Budget efficiency is an important issue in state financial management because it is directly related to government spending priorities and their impact on public service programs. Discussions about budget efficiency policies are widespread on social media platform X, generating diverse public responses, thus necessitating an automated approach to understand public opinion trends more quickly and objectively. This research aims to analyze the sentiment of Indonesian people toward budget efficiency policies and compare the performance of the Naïve Bayes and Support Vector Machine (SVM) algorithms in classifying sentiment. The research data used 10,909 Indonesian-language tweets sourced from a public dataset, which were then processed thru the preprocessing stages including cleaning, case folding, normalization, tokenization, stopword removal, and stemming. Sentiment labeling is performed automatically using the Indonesian Sentiment Lexicon (InSet) approach to categorize data into positive, negative, and neutral sentiments. Feature extraction was performed using Term Frequency–Inverse Document Frequency (TF-IDF), and then the data was divided into training and testing sets with an 80:20 ratio. Model performance evaluation was conducted using a confusion matrix and the metrics of accuracy, precision, recall, and F1-score. The research results show that sentiment distribution is dominated by negative sentiment at 56.78%, followed by positive sentiment at 37.40%, and neutral sentiment at 5.83%. In the classification stage, SVM performed best with an accuracy of 86%, while Naïve Bayes achieved an accuracy of 74%. These findings indicate that SVM is more optimal for sentiment classification on social media text data and can be utilized to more effectively support the analysis of public response to budget efficiency policies.

References

Agustina, V., & Herliana, A. (2025). Analisis Sentimen Publik atas Kebijakan Efisiensi Anggaran 2025 dengan Text Mining dan Natural Language Processing JURNAL MEDIA INFORMATIKA [ JUMIN ]. 6(3), 2182–2194. https://doi.org/https://doi.org/10.55338/jumin.v6i3.6301

Akbar, D. S., Rudiana, I. F., Prawiranegara, B., & Aryanti, M. (2022). Assessing the Effectiveness and Efficiency of the Public Service Budget. Jurnal Ilmiah Akuntansi Kesatuan, 10(1), 37–46. https://doi.org/10.37641/jiakes.v10i1.1189

Ananda Hafika, R., Agus Waruwu, S., Advis Ambrosius Sitohang, Y., Yazid Noor, M., Haikal Al Majid, M., Arnita, A., & Ramadhani, F. (2025). Penerapan Support Vector Machine Untuk Analisis Sentimen Twitter Terhadap Efisiensi Anggaran. JATI (Jurnal Mahasiswa Teknik Informatika), 9(4), 5729–5736. https://doi.org/10.36040/jati.v9i4.13894

Arora, A., & . G. (2022). Sentimental Analysis-A Review. International Journal for Research in Applied Science and Engineering Technology, 10(2), 1400–1404. https://doi.org/10.22214/ijraset.2022.40518

Deswandi Yahya, R., Adi Wibowo, S., & Vendyansyah, N. (2024). Analisis Sentimen Untuk Deteksi Ujaran Kebencian Pada Media Sosial Terkait Pemilu 2024 Menggunakan Metode Support Vector Machine. JATI (Jurnal Mahasiswa Teknik Informatika), 8(2), 1182–1189. https://doi.org/10.36040/jati.v8i2.9076

Fitri, V. A., Andreswari, R., Hasibuan, M. A., Fitri, V. A., Andreswari, R., & Hasibuan, M. A. (2019). Sentiment Analysis of Social Media Twitter with Case of Anti- Sentiment Analysis of Social Media Twitter with Case of Anti- LGBT Campaign in Indonesia using Naïve Bayes , Decision Tree , LGBT Campaign in Indonesia. Procedia Computer Science, 161, 765–772. https://doi.org/10.1016/j.procs.2019.11.181

Harwenda, R. W., Angelo, M. D., Budi, I., Santoso, A. B., & Putra, P. K. (2025). Sentiment Analysis on Government Public Policies: A Systematic Literature Review. Dinasti International Journal of Education Management And Social Science, 6(5), 4192–4211. https://doi.org/10.38035/dijemss.v6i5.4699

Ijong, I., Hajar, I., Nur, M., & Kalsum, U. (2023). Analisis Efektivitas dan Efisiensi Penggunaan Anggaran Pada Pemerintah Kota Kendari. IJMA (Indonesian Journal of Management and Accounting), 4(2), 208. https://doi.org/10.21927/ijma.2023.4(2).208-220

Imandasari, T., Irawan, E., Windarto, A. P., & Wanto, A. (2019). Algoritma Naive Bayes Dalam Klasifikasi Lokasi Pembangunan Sumber Air. Prosiding Seminar Nasional Riset Information Science (SENARIS), 1, 750. https://doi.org/10.30645/senaris.v1i0.81

Olivares Lopez, J., Sánchez López, A., González Velázquez, R., Santiago Díaz, M. del C., & Zenteno Vázquez, A. C. (2024). Machine learning techniques for sentiment analysis. International Journal of Combinatorial Optimization Problems and Informatics, 15(5), 6–16. https://doi.org/10.61467/2007.1558.2024.v15i5.554

Pakpahan, D., Siallagan, V., & Siregar, S. (2023). Classification of E-Commerce Product Descriptions with The Tf-Idf and Svm Methods. Sinkron, 8(4), 2130–2137. https://doi.org/10.33395/sinkron.v8i4.12779

Suherman, Kurniawan, T. L., & Syaifullah. (2025). Kebijakan Efisiensi Dalam Pengelolaan Anggaran Negara Indonesia Tahun 2025 Ditinjau Dari Undang-Undang Nomor 17 Tahun 2003 Yang Berkeadilan. Unizar Law Review, 8(1), 134–141. https://doi.org/10.36679/ulr.v8i1.97

Ulfa, M. A., Irmawati, B., & Husodo, A. Y. (2018). Twitter Sentiment Analysis using Na¨ive Bayes Classifier with Mutual Information Feature Selection. Journal of Computer Science and Informatics Engineering (J-Cosine), 2(2), 106–111. https://doi.org/10.29303/jcosine.v2i2.120

Wankhade, M., Rao, A. C. S., & Kulkarni, C. (2022). A survey on sentiment analysis methods, applications, and challenges. Artificial Intelligence Review, 55(7), 5731–5780. https://doi.org/10.1007/s10462-022-10144-1

Webb, M. E., Fluck, A., Magenheim, J., Malyn-Smith, J., Waters, J., Deschênes, M., & Zagami, J. (2021). Machine learning for human learners: opportunities, issues, tensions and threats. Educational Technology Research and Development, 69(4), 2109–2130. https://doi.org/10.1007/s11423-020-09858-2

Downloads

Published

2025-12-30

How to Cite

Elin Tamaya, Sharipuddin Sharipuddin, & Nurhadi Nurhadi. (2025). Analisis Sentimen Publik Terhadap Kebijakan Efisiensi Anggaran Menggunakan Naive Bayes, dan SVM. Prosiding Seminar Nasional Ilmu Teknik, 2(2), 1263–1274. https://doi.org/10.61132/prosemnasproit.v2i2.170