Analisis Sentimen Masyarakat Terhadap Pilpres 2019 Berdasarkan Opini Dari Twitter Menggunakan Metode Naive Bayes Classifier

Authors

  • Khoirul Zuhri Universitas Bina Darma
  • Nurul Adha Oktarini Saputri Universitas Bina Darma

DOI:

10.51519/journalcisa.v1i3.45

Keywords:

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

Abstract

Twitter is a social media that is currently popular, where the public is free to comment and write anything. It is not uncommon for the public to comment with harsh words and even hate speech. The 2019 presidential election drew many comments, some praised, criticized and insulted. To be able to dig up information and classify a text, sentiment analysis is needed. In this study, sentiment analysis is a process of classifying textual documents into two classes, namely negative and positive sentiment classes. Opinion data were obtained from the Twitter social network in the form of tweets. The data used was 3337 tweets consisting of 80% training data and 20% training data. Training data is data with known sentiment. This study aims to determine whether a tweet is a positive or negative tweet conveyed on Twitter in Indonesian. The classification of tweet data uses the naïve Bayes classifier algorithm. The classification results of the test data show that the Naïve Bayes Classifier algorithm provides an accuracy value of 71%. The accuracy value for each sentiment is 71% for positive sentiment and 70% for negative sentiment

References

Odewole. (2017) The Role of Librarian in Using Social Media Tools to Promote the Research Output of HIS/HER Clienteles. Journal of Education and Practice, 8 (27), 109-113.

Beineke, P., Hastie, T., Manning, C., & Vaithyanathan, S. 2004. Exprloring Sentiment Summarization. In Y. Qu, J. Shanahan, & J. Wiebe (eds) Proceedings of then {AAAI} Spring Symposium on Exploring Attitude and Affect in Text: Theories and Applications, AAAI Press.

Sugiono (2016). Metode Penelitian Kuantitatif, Kualitatif, dan R&D. Alfabeta. Bandung.

Dr. Ghayda A. Al-Talib1, Hind S. Hassan, A . (2013). Study on Analysis of SMS Classification Using TF-IDF Weighting

Downloads

Published

2020-09-17

How to Cite

Zuhri, K., & Saputri, N. A. O. (2020). Analisis Sentimen Masyarakat Terhadap Pilpres 2019 Berdasarkan Opini Dari Twitter Menggunakan Metode Naive Bayes Classifier. Journal of Computer and Information Systems Ampera, 1(3), 185–199. https://doi.org/10.51519/journalcisa.v1i3.45