Sentiment Classification Comparison of Public Perception on Tax Service Quality at KPP Pratama Surabaya Gubeng Using Naive Bayes and Support Vector Machine

Authors

  • Puput Ayu Setiawati Politeknik Elektronika Negeri Surabaya Author
  • Fitrah Maharani Humaira Politeknik Elektronika Negeri Surabaya Author
  • Diah Kusumadewi Sugiarto KPP Pratama Surabaya Gubeng Author

Keywords:

Tax, Sentiment, Naive Bayes, Support Vector Machine, Public opinion

Abstract

The Tax Service Office (KPP) Pratama Surabaya Gubeng is a government institution that provides taxation services to the public. Public reviews of these services can be observed through digital opinions shared across various platforms, making it easier to understand public perception and satisfaction. This study aims to classify public sentiment toward the services of KPP Pratama Surabaya Gubeng using the Naive Bayes and Support Vector Machine (SVM) algorithms. Data were collected through web scraping from Google Maps and questionnaires via Google Forms. All data underwent preprocessing, normalization, and balancing before model training. The evaluation results indicate that the Naive Bayes algorithm consistently outperforms SVM across various training data proportions, particularly at 80% and 90%, with higher accuracy and F1-score. In contrast, SVM only performed better at the 70% training portion but declined as the data size increased. These findings suggest that probabilistic algorithms like Naive Bayes are more suitable for the characteristics of tax service review data at KPP Pratama Surabaya Gubeng. The results of this classification are expected to support evaluation and decision-making efforts to improve service quality based on public opinion.

References

[1] A. Ubarok, N. T. Aprilia, and S. Susanti, “Analisis kepuasan pengguna layanan Google Forms sebagai media survei online menggunakan model DeLone & McLean,” Jurnal Informatika, vol. 7, no. 2, 2020.

[2] V. Gupta and G. S. Lehal, “A survey of text mining techniques and applications,” IEEE Access, vol. 7, pp. 21687–21712, 2019.

[3] S. Poria, D. Hazarika, N. Majumder, and R. Mihalcea, “Beneath the tip of the iceberg: Current challenges and new directions in sentiment analysis research,” arXiv preprint arXiv:2005.00357, 2020.

[4] H. S. Bhatti, B. Raza, S. Khalid, and J. Iqbal, “A comparative analysis of machine learning algorithms for sentiment analysis using Python,” IEEE Access, vol. 9, pp. 123612–123625, 2021.

[5] “Naive Bayes classifier,” Wikipedia, 2024. [Online]. Available: https://en.wikipedia.org/wiki/Naive_Bayes_classifier

[6] S. Tripathy, A. Samal, and D. P. Dogra, “Sentiment analysis using rule-based classification and Min–Max normalization for social media text,” IEEE Trans. Comput. Social Systems, vol. 8, no. 2, pp. 315–326, 2021.

[7] A. Syafira, E. Prasetyo, and D. Lestari, “Sentiment analysis on public services using Naive Bayes classifier,” Journal of Data Science Applications, vol. 4, no. 2, pp. 101–108, 2022.

[8] R. Oktaviani, H. Widodo, and S. Anwar, “Comparative study of sentiment classification using SVM and Naive Bayes on e-commerce reviews,” Procedia Computer Science, vol. 179, pp. 876–882, 2021.

[9] N. Rachmawati and A. Santoso, “Optimizing sentiment classification with balanced datasets in public feedback analysis,” Indonesian Journal of Artificial Intelligence, vol. 6, no. 1, pp. 33–40, 2023.

[10] F. Lestari, R. Aditya, and A. Ramadhan, “Hybrid sentiment labeling based on rating and textual polarity for review classification,” Jurnal Teknologi dan Sistem Informasi, vol. 11, no. 1, pp. 45–53, 2023.

[11] “Google Maps,” Wikipedia, 2024. [Online]. Available: https://en.wikipedia.org/wiki/Google_Maps

[12] “Web scraping,” Wikipedia, 2024. [Online]. Available: https://en.wikipedia.org/wiki/Web_scraping

[13] A. Brenning and S. Henn, “Web scraping: A promising tool for geographic data acquisition,” arXiv preprint arXiv:2305.19893, 2023.

[14] A. F. Aufar et al., “Mengoptimalkan preprocessing teks untuk analisis sentimen yang akurat pada ulasan e-wallet,” Journal of Information and Computer Technology Education (JICTE), vol. 7, no. 2, 2023.

[15] M. Arief and M. B. M. Deris, “Text preprocessing impact for sentiment classification in product review,” in Proc. Sixth Int. Conf. Informatics and Computing (ICIC), 2021, pp. 1–6.

[16] D. P. Putra and A. Wibowo, “Text preprocessing optimization for Indonesian sentiment analysis,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 9, no. 1, pp. 35–42, 2022.

[17] A. Kusumawardani, D. Maulidina, and D. Fitria, “Topic classification in customer reviews using rule-based and keyword matching approach,” Jurnal Teknologi Informasi dan Komputer, vol. 7, no. 2, pp. 112–119, 2022.

[18] D. Maulidya, T. Rahman, and M. Hidayatullah, “Handling class imbalance in Indonesian sentiment analysis: A comparative study,” Jurnal Informatika dan Data Sains, vol. 7, no. 1, pp. 55–64, 2023.

[19] B. Yousefimehr et al., “Data balancing strategies: A survey of resampling and augmentation methods,” arXiv preprint arXiv:2505.13518, 2025.

[20] F. Wulandari, U. Hasanah, and B. Pramudyo, “Evaluation metrics for sentiment classification in short texts,” Jurnal Ilmu Komputer dan Aplikasi, vol. 11, no. 2, pp. 65–72, 2023.

[21] D. M. W. Powers, “Evaluation: From precision, recall and F-score to ROC, informedness, markedness & correlation,” arXiv preprint arXiv:2010.16061, 2020.

Downloads

Published

2026-09-30

How to Cite

Sentiment Classification Comparison of Public Perception on Tax Service Quality at KPP Pratama Surabaya Gubeng Using Naive Bayes and Support Vector Machine. (2026). Journal of Data Science Informatics and Computer Engineering, 1(1), 18-24. https://journals.pens.ac.id/jdsice/article/view/38