Analisis Sentimen Masyarakat Terhadap Kinerja Presiden Indonesia Dalam Aspek Ekonomi, Kesehatan, Dan Pembangunan Berdasarkan Opini Dari Twitter
DOI:
https://doi.org/10.34818/eoe.v6i2.9840Abstrak
Abstrak Menjelang pilpres tahun 2019, opini – opini atau tweet yang berkaitan dengan Presiden dan Calon Presiden adalah yang paling banyak diutarakan oleh pengguna twitter di Indonesia saat ini. Opini – opini masyarakat sangat penting untuk mengetahui keadaan keberpihakan masyarakat pada pemilihan presiden yang akan datang. Selain itu dengan melihat opini – opini yang terpampang secara bebas di twitter, kita dapat mengetahui secara umum keadaan beberapa aspek ekonomi, aspek kesehatan, dan aspek pembangunan dengan memanfaatkan opini – opini di twitter. Pada Tugas Akhir ini dibangun sistem untuk analisis sentimen dalam tiga aspek yaitu ekonomi, kesehatan, dan pembangunan yang berupa sentimen positif atau sentimen negatif. Metode yang digunakan adalah Naïve Bayes dengan menggunakan ekstraksi fitur Lexicon SentiWordnet dan penggabungan TF-IDF dengan Lexicon SentiWordnet. Masukan dari sistem ini berupa dataset tweet dari Twitter sebanyak 1357, kemudian dataset tersebut dilabeli secara manual. Keluaran dari penelitian ini berupa evaluasi dengan menggunakan 10 fold cross validation, kemudian pengukuran akurasi diukur dengan confusion matrix. Berdasarkan hasil penelitian yang telah dilakukan, penggunaan Naïve Bayes dengan ekstraksi fitur Lexicon SentiWordnet dalam pembuatan sistem Sentiment Analysis terbukti lebih baik dengan akurasi 84,75% dibandingkan dengan Naïve Bayes dengan menggunakan ekstraksi fitur TF-IDF ataupun TF-IDF yang digabungkan dengan Lexicon SentiWordnet.
Kata kunci : Naïve Bayes, Lexicon SentiWordnet, Twitter , confusion matrix, analisis sentimen, TF-IDF Abstract Towards the 2019 presidential election, opinions or tweets related to the President and Presidential Candidates are the most widely expressed by twitter users in Indonesia today. Public opinion is very important to understand the state of community alignments in the upcoming Presidential election. In addition, by looking at opinions posted on Twitter, we can discuss several aspects of the economy, health aspects, and aspects of infrastructure by using opinions on Twitter. In this Final Project a system for sentiment analysis is built in three aspects, namely economic, health, and development which contain positive sentiments or negative sentiments. The method that used is Naïve Bayes by using the Lexicon SentiWordnet for the feature extraction and the integration of TF-IDF with Lexicon SentiWordnet. Issued from this system consists of tweet datasets from Twitter totaling 1357, then the dataset is labeled manually. The output of this study consisted of evaluations using a 10-fold cross validation, then the evaluation was completed with a confusion matrix. Based on the results of research that has been done, the use of Naïve Bayes with the extraction of the Lexicon SentiWordnet feature in making Sentiment Analysis systems proved to be better with 84.75% consultation compared to Naïve Bayes by using the TF- IDF or TF-IDF feature extraction combined with the Lexicon SentiWordnet.
Keywords: Naïve Bayes, Lexicon SentiWordnet, Twitter, confusion matrix, sentiment analysis, TF-IDF
Unduhan
Referensi
K. Lazaridou and R. Krestel, “Identifying Political Bias in News Articles,” Int. Conf. Theory Pract. Digit. Libr., vol. 12, 2016.
Statista, “Number of monthly active Twitter users worldwide from 1st quarter 2010 to 2nd quarter 2018 (in millions),” The Statics Portal, 2018.
G. A. Buntoro, “Analisis Sentimen Calon Gubernur DKI Jakarta 2017 Di Twitter,” Integer J. Maret, vol. 1, no. 1, pp. 32–41, 2016.
P. Jea et al., “ANALISIS SENTIMEN TWITTER MENGGUNAKAN METODE LEXICON-BASED DAN SUPPORT VECTOR MACHINE SENTIMENT ANALYSIS TWITTER USING LEXICONBASED METHOD AND.”
B. Liu, Synthesis lectures on human language technologies. Morgan & Claypool Publisher, 2012.
A. P. Syah, S. Al Faraby, F. Informatika, and U. Telkom, “ANALISIS SENTIMEN PADA DATA ULASAN PRODUK TOKO ONLINE DENGAN METODE MAXIMUM ENTROPY SENTIMENT ANALYSIS ON ONLINE STORE PRODUCT REVIEWS WITH MAXIMUM,” vol. 4, no. 3, pp. 4632–4640, 2017.
N. Saleena, “ScienceDirect An Ensemble Classification System for Twitter Sentiment Analysis An Ensemble Classification System for Twitter Sentiment Analysis,” Procedia Comput. Sci., vol. 132, no. Iccids, pp. 937–946, 2018.
B. Joyce, “Sentiment Analysis of Tweets for the 2016 US Presidential Election,” pp. 5–8, 2016.
G. A. Buntoro and A. E. Purnamasari, “Sentiment Analysis Candidates of Indonesian Presiden 2014 with Five Class Sentiment Analysis Candidates of Indonesian Presiden 2014 with Five Class Attribute,” no. May, 2016.
P. Sharma, “Prediction of Indian Election Using Sentiment Analysis on Hindi Twitter,” pp. 1966–1971, 2016.
D. Wahyudi, T. Susyanto, and D. Nugroho, “Implementasi dan analisis algoritma stemming nazief & adriani dan porter pada dokumen berbahasa indonesia,” pp. 49–56, 2013.
C. D. Manning, P. Raghavan, and H. Schutze, “An Introduction to Information Retrieval,” Online, no. c, p. 569, 2009.
F. Fakhruddin, M. S. Mubarok, F. Informatika, and U. Telkom, “Klasifikasi Sentimen Pada Data Ulasan Produk Toko Online Menggunakan Multinomial Naïve Bayes Sentiment Classfication on Online Store Product Reviews Using.”
Kohavi and Provost, “Confusion Matrixe.” [Online]. Available: http:/www2.cs.uregina.ca/~dbd/cs831/notes/confusion_matrix.html.
I. M. W. Widiana, A. Herdiani, and I. L. Sardi, “Prediksi Hasil Pemilihan Kepala Daerah Melalui Informasi Twitter Menggunakan Naive Bayes Classifier ( Studi Kasus : Pemilihan Gubernur DKI Jakarta 2017 ),” 2017.
R. Kartika, Y. Sibaroni, and Adiwijaya, “Klasifikasi Sentimen Data Ulasan Produk Pakaian Menggunakan Metode Multinomial Naïve Bayes Berbasis Information Gain dan Query Expansion Ranking Program Studi Sarjana Informatika Fakultas Informatika Universitas Telkom Bandung,” 2019.
I. M. W. Widiana, A. Herdiani, and I. L. Sardi, “Prediksi Hasil Pemilihan Kepala Daerah Melalui Informasi Twitter Menggunakan Naive Bayes Classifier ( Studi Kasus : Pemilihan Gubernur DKI Jakarta 2017 ),” 2017



