Analisis Sentimen Politik Pada Twitter Dan Facebook Menggunakan Metode Naive Bayes Classifier (studi Kasus : Pilkada Jawa Barat 2018)
DOI:
https://doi.org/10.34818/eoe.v6i1.8689Abstract
Abstrak Pengaruh media sosial seperti Facebook dan Twitter pada sektor politik cukuplah besar. Opini atau pemikiran masyarakat dapat dibentuk melalui informasi dan berita yang dapat menentukan opini positif dan netral bahkan juga negatif terhadap kejadian atau peristiwa politik yang sedang berlangsung. Karena hal tersebut kita dapat meneliti sentiment yang diberikan pada Facebook dan Twitter tersebut apakah memang memiliki akurasi atau ketepatan yang tinggi pada sesuatu pembicaraan berupa tweet dan comment yang diberikan masyarakat pada calon gubernur tersebut. Serta dapat menilai bagaimana para pendukung atau masyarakat memberikan tanggapan yang beragam. Proses inti dari penelitian ini menggunakan metode Naive Bayes Classifier, akan tetapi banyak metode lain yang akan mendukung perhitungan Naive Bayes Classifier tersebut untuk membentuk akurasi yang didapatkan menjadi lebih tinggi. Seperti metode preprocessing dan pembobotan TF-IDF. Preprocessing data dibutuhkan agar data yang telah didapatkan menjadi lebih baik dan terukur. Serta penggunaan pembobotan TF-IDF bertujuan untuk memberikan perhitungan akurasi yang digunakan untuk metode Naive Bayes Classifier menjadi lebih baik. Setelah itu akan didapatkan akurasi sesuai skenario yang akan diuji dan confusion matrix untuk skenario terbaik yang didapatkan. Kata kunci : Facebook, Preprocessing, Twitter, Naive Bayes Classifier, independent, training. Abstract The influence of social media like Facebook and Twitter on the political sector is quite large. Public opinion or thought can be formed through information and news that can determine positive and neutral opinions and even negative events or ongoing political events. Because of this we can examine the sentiment given to Facebook and Twitter whether it has high accuracy or accuracy on something in the form of tweets and comments given by the community to the prospective governor. And can assess how supporters or the community provide diverse responses. The core process of this study uses the Naive Bayes Classifier method, but many other methods will support the calculation of the Naive Bayes Classifier to form the obtained accuracy higher. Like the preprocessing method and the TF-IDF weighting. Preprocessing data is needed so that the data that has been obtained becomes better and measurable. As well as the use of TF-IDF weighting, the aim is to provide a better calculation of the accuracy used by the Naive Bayes Classifier method. After that, accuracy will be obtained according to the scenario to be tested and the confusion matrix for the best scenario obtained. Keywords: Facebook, Preprocessing, Twitter, Naive Bayes Classifier, independent, training
Downloads
References
Liu B. Sentiment analysis and opinion mining, Synth Lect Human Lang Technol (2012).
Saraswati, N.W.S., 2011, Text Mining dengan Metode Naive Bayes Classifier dan Support Vector Machine untuk Sentimen Analysis.
Wulandini, F. & Nugroho, A. N. 2009. Text Classification Using Support Vector Machine for Web mining Based Spation Temporal Analysis of the Spread of Tropical Diseases.International.
Caruana, R. &Niculescu-Mizil, A. 2006. Anempirical comparison of supervised learning algorithms. Proceedings of the 23 rd international conference on Machine learning.
Qiu, L., Lin, H., Ramsay, J., dan Yang, F., 2012. You are what you tweet: Personality expression and perception on Twitter. Division of Psicology,Singapore. Science Direct. Pp.710-718.
M. Yusuf Nur Sumarno Putro, (2011). “Analisis Sentimen pada Dokumen Berbahasa Indonesia dengan Pendekatan Support Vector Machine,” masters, binus.
Noviah Dwi Putranti, Edi Winarko (2014).”Analisis Sentimen Twitter untuk Teks Berbahasa Indonesia dengan Maximum Entropy dan Support Vector Machine”.
Go, A., Huang, L., & Bhayani, R. (2009). Twitter Sentiment Analysis. Final Project Report, Stanford University, Department of Computer Science.
Weissbock, J., Esmin, A., Inkpen, D. 2013. Using external information for classifying tweets.
Widodo, A.W., 2013. Klasifikasi Artikel Berita Menggunakan Naive Bayes Classifier yang Dimodifikasi.
Sembodo, J. E., Setiawan, E. B., & Baizal, Z. A. (2016). Data Crawling Otomatis pada Twitter. Ind. Symposium on Computing, 11-1



