Public Sentiments Analysis about Indonesian Social Insurance Administration Organization on Twitter


Naïve Bayes Classifier
Sentiment Analysis
Data Mining

How to Cite

Rahmawati, S., & Habibi, M. (2020). Public Sentiments Analysis about Indonesian Social Insurance Administration Organization on Twitter. IJID (International Journal on Informatics for Development), 9(2), 87–93.


Insurance Administration Organization, which can be used by all people. However, this organization has received various criticisms from the public through social media, namely Twitter. This study aims to analyze public sentiment about the Indonesian Social Insurance Administration Organization on Twitter. The method used in this research is the Naive Bayes Classifier (NBC) method and uses the Support Vector Machine (SVM) method as a comparison. The amount of data used was 12,990 tweets with a data collection period from September 14, 2019 - February 18, 2020. The study compared the two classifier models built, namely the classifier model with two sentiment classes and four sentiment classes. The accuracy results show that the SVM method has a better accuracy value than the NBC method. SVM has an accuracy value of 63.60% and 82.77% for the two sentiment classes in the four sentiment classifier model. The tweet classification results show that the public's conversation about the Indonesian Social Insurance Administration Organization on Twitter has a negative polarity value tendency.


Widyawati, “Program Indonesia Sehat untuk Capai Tingkat Kesehatan Tertinggi - Sehat Negeriku,” Biro Komunikasi dan Pelayanan Masyarakat, 2019. [Online]. Available: [Accessed: 23-Sep-2020].

Y. Lin, “10 Twitter Statistics Every Marketer Should Know in 2020 [Infographic].” [Online]. Available: [Accessed: 23-Oct-2020].

M. Habibi and Sumarsono, “Implementation of Cosine Similarity in an automatic classifier for comments,” JISKA (Jurnal Inform. Sunan Kalijaga), vol. 3, no. 2, pp. 38–46, 2018.

A. F. Hidayatullah and M. R. Maarif, “Penerapan Text Mining dalam Klasifikasi Judul Skripsi,” in Seminar Nasional Aplikasi Teknologi Informasi (SNATi) Agustus, 2016, pp. 1907–5022.

M. Habibi and P. W. Cahyo, “Journal Classification Based on Abstract Using Cosine Similarity and Support Vector Machine,” JISKA (Jurnal Inform. Sunan Kalijaga), vol. 4, no. 3, pp. 48–55, 2020.

F. J. Yang, “An implementation of naive bayes classifier,” in Proceedings - 2018 International Conference on Computational Science and Computational Intelligence, CSCI 2018, 2018, pp. 301–306.

P. Domingos and M. Pazzani, “On the Optimality of the Simple Bayesian Classifier under Zero-One Loss,” Mach. Learn., vol. 29, no. 2–3, pp. 103–130, 1997.

N. Salmi and Z. Rustam, “Naïve Bayes Classifier Models for Predicting the Colon Cancer,” in IOP Conference Series: Materials Science and Engineering, 2019, vol. 546, no. 5, p. 052068.

M. Habibi and E. Winarko, “Analisis Sentimen dan Klasifikasi Komentar Mahasiswa pada Sistem Evaluasi Pembelajaran Menggunakan Kombinasi KNN Berbasis Cosine Similarity dan Supervised Model,” Universitas Gadjah Mada, 2017.

I. A. Ahmad Sabri, M. Man, W. A. W. Abu Bakar, and A. N. Mohd Rose, “Web Data Extraction Approach for Deep Web using WEIDJ,” in Procedia Computer Science, 2019, vol. 163, pp. 417–426.

A. B. Nassif, A. Elnagar, I. Shahin, and S. Henno, “Deep learning for Arabic subjective sentiment analysis: Challenges and research opportunities,” Applied Soft Computing. Elsevier Ltd, p. 106836, 02-Nov-2020.

H. T. Phan, V. C. Tran, N. T. Nguyen, and D. Hwang, “Improving the Performance of Sentiment Analysis of Tweets Containing Fuzzy Sentiment Using the Feature Ensemble Model,” IEEE Access, vol. 8, pp. 14630–14641, 2020.

A. Perti, M. C. Trivedi, and A. Sinha, “Development of intelligent model for twitter sentiment analysis,” Mater. Today Proc., Sep. 2020.

N. N. Amir Sjarif, N. F. Mohd Azmi, S. Chuprat, H. M. Sarkan, Y. Yahya, and S. M. Sam, “SMS spam message detection using term frequency-inverse document frequency and random forest algorithm,” in Procedia Computer Science, 2019, vol. 161, pp. 509–515.

A. Thakkar and K. Chaudhari, “Predicting stock trend using an integrated term frequency–inverse document frequency-based feature weight matrix with neural networks,” Appl. Soft Comput. J., vol. 96, p. 106684, Nov. 2020.

A. A. Putri Ratna, A. Kaltsum, L. Santiar, H. Khairunissa, I. Ibrahim, and P. D. Purnamasari, “Term Frequency-Inverse Document Frequency Answer Categorization with Support Vector Machine on Automatic Short Essay Grading System with Latent Semantic Analysis for Japanese Language,” in ICECOS 2019 - 3rd International Conference on Electrical Engineering and Computer Science, Proceeding, 2019, pp. 293–298.

K. L. Priya, M. S. Charan Reddy Kypa, M. M. Sudhan Reddy, and G. R. Mohan Reddy, “A Novel Approach to Predict Diabetes by Using Naive Bayes Classifier,” in Proceedings of the 4th International Conference on Trends in Electronics and Informatics, ICOEI 2020, 2020, pp. 603–607.

S. G. Kanakaraddi, A. K. Chikaraddi, K. C. Gull, and P. S. Hiremath, “Comparison Study of Sentiment Analysis of Tweets using Various Machine Learning Algorithms,” in Proceedings of the 5th International Conference on Inventive Computation Technologies, ICICT 2020, 2020, pp. 287–292.

C. D. Manning, P. Raghavan, and H. Schutze, An Introduction to Information Retrieval. Cambridge, England: Cambridge University Press, 2009.

A. A. Anees, H. Prakash Gupta, A. P. Dalvi, S. Gopinath, and B. R. Mohan, “Performance analysis of multiple classifiers using different term weighting schemes for sentiment analysis,” in 2019 International Conference on Intelligent Computing and Control Systems, ICCS 2019, 2019, pp. 637–641.

A. Yadav, C. K. Jha, A. Sharan, and V. Vaish, “Sentiment analysis of financial news using unsupervised approach,” in Procedia Computer Science, 2020, vol. 167, pp. 589–598.

S. Dey, S. Wasif, D. S. Tonmoy, S. Sultana, J. Sarkar, and M. Dey, “A Comparative Study of Support Vector Machine and Naive Bayes Classifier for Sentiment Analysis on Amazon Product Reviews,” in 2020 International Conference on Contemporary Computing and Applications, IC3A 2020, 2020, pp. 217–220.

Creative Commons License
IJID (International Journal on Informatics for Development) is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License