Deteksi Sentimen Publik terhadap Isu Lingkungan di Platform X (Twitter) Menggunakan Naïve Bayes dan Support Vector Machine untuk Mendukung SDGs 13: Climate Action
Keywords:
Public Sentiment, Naïve Bayes, Support Vector Machine, Twitter, SDG 13, Climate ActionAbstract
Environmental issues are among the most discussed topics on social media, gaining global attention due to increasing awareness of climate change. Twitter, as one of the largest social media platforms, provides a valuable data source for understanding public perceptions of environmental topics. This study aims to detect public sentiment toward environmental issues on Twitter using the Naïve Bayes and Support Vector Machine (SVM) algorithms. The dataset used in this study is the Climate Change Twitter Sentiment Dataset from Kaggle, which contains thousands of labeled tweets related to climate change with positive, negative, and neutral sentiments. The research stages include text preprocessing (cleaning, tokenizing, and stopword removal), feature extraction using Term Frequency–Inverse Document Frequency (TF-IDF), model training, and algorithm evaluation. The experimental results show that SVM achieved higher accuracy than Naïve Bayes, with 89.4% and 84.7%, respectively. These findings indicate that SVM is more effective in identifying sentiment patterns. This research supports the achievement of Sustainable Development Goal (SDG) 13: Climate Action by leveraging artificial intelligence to analyze public opinion on environmental issues.
References
& W. Food and Agriculture Organization, International Fund for Agricultural Development, UNICEF, WFP, “The Sustainable Development Goals Extended Report 2023,” 2024 [Online]. Available: https://unstats.un.org/sdgs/report/2023/extended-report/Extended-Report_Goal-2.pdf?utm_source=chatgpt.com
M. Sidik, B. Gunawan, and D. Anggraini, “Pembuatan Aplikasi Chatbot Kolektor dengan Metode Extreme Programming dan Strategi Forward Chaining,” J. Teknol. Inf. dan Ilmu Komput., vol. 8, no. 2, pp. 293–302, 2021, doi: 10.25126/jtiik.2021824298.
H. Annison, “Book review: Book review,” Criminol. Crim. Justice, vol. 11, no. 3, pp. 277–278, 2011, doi: 10.1177/1748895811401979.
A. Manwombreidy Kafiar and S. Supatman, “Analisis Sentimen Netizen Terhadap Isu Pembabatan Hutan Adat Papua Melalui Tagar #Alleyesonpapua Menggunakan Algoritma Support Vector Machine,” JATI (Jurnal Mhs. Tek. Inform., vol. 8, no. 4, pp. 8129–8135, 2024, doi: 10.36040/jati.v8i4.10672.
M. N. Fadillah and R. N. Sukmana, “Penerapan Algoritma Naïve Bayes Classifier Untuk Analisis Sentimen Kelangkaan Minyak Goreng Pada Media Sosial Twitter,” Infotronik J. Teknol. Inf. dan Elektron., vol. 7, no. 2, p. 82, 2022, doi: 10.32897/infotronik.2022.7.2.1716.
A. Muslim, A. B. Mutiara, R. Refianti, C. M. Karyati, and G. Setiawan, “Comparison of accuracy between long short-term memory-deep learning and multinomial logistic regression-machine learning in sentiment analysis on twitter,” Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 2, pp. 747–754, 2020, doi: 10.14569/ijacsa.2020.0110294.
L. Zhang, S. Wang, and B. Liu, “Deep learning for sentiment analysis: A survey,” Wiley Interdiscip. Rev. Data Min. Knowl. Discov., vol. 8, no. 4, 2018, doi: 10.1002/widm.1253.
A. A. Setyawinda, B. Setiyadi, and A. D. Hartanto, “Perbandingan Algoritma Word Matching dan Naive Bayes untuk Klasifikasi Sentimen Analisis Komentar Instagram,” J. Inform. J. Pengemb. IT, vol. 5, no. 1, pp. 12–16, 2020, doi: 10.30591/jpit.v5i1.1733.
Downloads
Published
How to Cite
Issue
Section
License
Prosiding ini memberikan akses terbuka langsung ke isinya dengan prinsip bahwa membuat penelitian tersedia secara gratis untuk publik mendukung pertukaran pengetahuan global yang lebih besar.
Semua artikel yang diterbitkan Open Access akan segera dan secara permanen gratis untuk dibaca dan diunduh semua orang.