Analisis Sentimen terhadap Anies Baswedan di X (Twitter) Menggunakan Naive Bayes dan TF-IDF
Abstract
Penelitian ini menganalisis sentimen warganet terhadap Anies Baswedan di platform X (Twitter) menggunakan algoritma Naive Bayes dengan pembobotan TF-IDF. Data mentah berjumlah 1.563 tweet (Januari 2019–Oktober 2022). Setelah penyaringan dan pelabelan manual, diperoleh 848 tweet dengan distribusi positif 261, negatif 92, dan netral 495. Ketidakseimbangan diatasi dengan random oversampling sehingga tiap kelas 495 data. Akurasi meningkat dari 64,12% menjadi 80,81%.
Kata kunci: Analisis sentimen; X (Twitter); Naive Bayes; TF-IDF; Oversampling.Full Text:
PDFReferences
APJII, "Laporan Survei Internet Indonesia 2023," Asosiasi Penyelenggara Jasa Internet Indonesia, 2023.
A. Baiyere, V. Grover, K. J. Lyytinen, S. Woerner, and A. Gupta, "Digital ‘x’—Charting a Path for Digital-Themed Research," Information Systems Research, 2023.
K. T. Baldwin and C. Eroglu, "Astrocytes 'Coordinate' Synapse Maturation and Plasticity," Neuron, vol. 100, no. 5, pp. 1010–1012, 2018.
C. Bhadane, H. Dalal, and H. Doshi, "Sentiment Analysis: Measuring Opinions," Procedia Computer Science, 2015.
R. Feldman and J. Sanger, Text mining Handbook: Advanced Methods for Unstructured Data Analysis. Cambridge, U.K.: Cambridge Univ. Press, 2007.
R. Greenlaw et al., "PERFORM: Building and Mining Electronic Records of Neurological Patients Being Monitored in the Home," in World Congress on Medical Physics and Biomedical Engineering, 2009, pp. 533–535.
A. R. Isnain, N. S. Marga, and D. Alita, "Sentiment Analysis of Government Policy on Corona Case Using Naive Bayes Algorithm," IJCCS, vol. 15, no. 1, p. 55, 2021.
T. Joachims, "Text categorization with Support Vector Machines: Learning with many relevant features," in Proc. ECML, 1998.
A. J. Kim and H. Gil, "The future of social media in marketing," Journal of the Academy of Marketing Science, vol. 47, pp. 237–254, 2019.
K. N. Manasa and M. C. Padma, "A Study on Sentiment Analysis on Social Media Data," in Emerging Research in Electronics, Computer Science and Technology, 2019, pp. 661–667.
C. D. Manning, P. Raghavan, and H. Schütze, Introduction to Information Retrieval. Cambridge, U.K.: Cambridge Univ. Press, 2008.
I. Mardiyono, "Analisis Sentimen terhadap Anies Baswedan di X (Twitter) Menggunakan Naive Bayes dan TF-IDF," Undergraduate Thesis, Univ. Muhammadiyah Jember, 2022.
T. M. Mitchell, Machine Learning. New York, NY, USA: McGraw-Hill, 1997.
S. Rahate, V. Dehanka, T. Teppalwar, and V. R. Surjuse, "Review Sentimental Analysis," International Journal of Computer Science and Mobile Computing, vol. 11, no. 3, pp. 37–41, 2022.
N. C. R. Riego and D. B. Villarba, "Utilization of Multinomial Naive Bayes Algorithm and TF-IDF Vectorizer in Checking the Credibility of News Tweet in the Philippines," arXiv preprint, 2023.
G. Salton and C. Buckley, "Term-weighting approaches in automatic text retrieval," Information Processing & Management, vol. 24, no. 5, 1988.
Y. Sandria, "Penerapan Algoritma Selection Sort untuk Melakukan Pengurutan Data dalam Bahasa Pemrograman PHP," Article (in Indonesian), 2022.
G. A. Sofa, "Yang Tersembunyi dari Pidato Politik Pertama Anies Baswedan sebagai Gubernur DKI Jakarta: Sebuah Analisis Wacana Kritis," Jurnal Kata, vol. 2, no. 2, pp. 384–402, 2018.
D. Sumardani, I. Midaraeni, and N. I. Sumardani, "Virtual reality sebagai media pembelajaran relativitas khusus berbasis Google Cardboard pada smartphone Android," Prosiding Seminar Nasional Pendidikan KALUNI, 2019.
H. Thorpe and B. Wheaton, "The X Games: Re-imagining youth and sport," in Sport, Media and Mega-events, London, U.K.: Routledge, 2017, pp. 247–261.
B. Wheaton and H. Thorpe, "Action sport media consumption trends across generations," Communication & Sport, vol. 7, no. 4, pp. 415–445, 2019.
Refbacks
- There are currently no refbacks.

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.