Sentiment Analysis of Forest Fires on Social Media Networks Twitter Using the Long Short Term Memory (LSTM) Method
DOI:
https://doi.org/10.30865/klik.v3i6.866Keywords:
Forest Fire; Twitter; LSTM; FastText; GloVeAbstract
The topic of forest fires is of significant interest on social media platforms. In this case, Twitter has been used by 11.8 million users as a means to spread information about forest fires. Twitter, a microblogging service launched on July 13, 2006, allows users to share information for free to themselves and others. Public sentiment related to forest fires can be analyzed through opinions and discussions on Twitter social media. This research aims to analyze the Sentiment of Forest Fires on Twitter Social Networks using the Long Short Term Memory (LSTM) Method. The research data was obtained by crawling the Twitter API using the keyword "forest fire." After crawling, 7,000 tweet texts were collected and labeled as "Negative" and "Positive." Through the preprocessing stage, using a 7,000 dataset, the TF-IDF accuracy of the developed LSTM model reached 68.14%. In addition, the GloVe expansion feature was performed with the Tweet corpus, which resulted in an increase in accuracy of 11.77% to 80.13% in the LSTM model. Meanwhile, the FastText expansion feature with the Common Crawl corpus also increased the accuracy by 11.99% to 80.59% on the LSTM model.
Downloads
References
A. Fauzi, E. B. Setiawan, and Z. K. A. Baizal, “Hoax News Detection on Twitter using Term Frequency Inverse Document Frequency and Support Vector Machine Method,” in Journal of Physics: Conference Series, May 2019, vol. 1192, no. 1. doi: 10.1088/1742-6596/1192/1/012025.
Andi Dwi Riyanto, “Hootsuite (We are Social): Indonesian Digital Report 2020.” [Online]. Available: https://andi.link/hootsuite-we-are-social-indonesian-digital-report-2020/.
Jaafar, Z.; and Loh, T.-L. 2014. “Linking land, air and sea: potential impacts of biomass burning and the resultant haze on marine ecosystems of Southeast Asia”.Global Change Biology 2701–2707.
Doerr, S. H.; and Sant´?n, C. 2016. “Global trends in wildfire and its impacts:perceptions versus realities in a changing world”. Philosophical Transactions of the Royal Society B: Biological Sciences 20150345.
Warren, M.; Hergoualc’h, K.; Kauffman, J.; Murdiyarso, D.; and Kolka, R.2017. “An appraisal of Indonesia’s immense peat carbon stock using national peatland maps: Uncertainties and potential losses from conversion”. Carbon Balance and Management 12.
Lohberger, S.; Stangel, M.; Atwood, E.; and Siegert, F. 2018. ¨ Spatial evaluation of Indonesia’s 2015 fire affected area and estimated carbon emissions using Sentinel-1. Global Change Biology 644–654.
Y Asri Utami , Lilyani, M.Kom.Maret 2017. “Analisis Sentimen Opini Publik Berita Kebakaran Hutan Melalui Komparasi Alforitma Support VectorMachine (SVM) dan KNearest Neighbor (KNN)”.
Winda Kurnia Sari, “Klasifikasi Teks Menggunakan Long ShortTerm Memory Dengan Fitur Word Embedding Glove Dan Word2Vec,” 2020.
Yuliana Romadhoni1, Khadijah Fahmi Hayati Holle” Analisis SentimenTerhadap PERMENDIKBUD No.30 pada Media Sosial Twitter Menggunakan Metode Naive Bayes dan LSTM”. Jurnal Informatika: Jurnal pengembangan IT (JPIT), Vol.7, No.2, Mei 2022.
Usha Devi Gandhi, Priyan Malarvizhi Kumar, Gokulnath Chandra Babu, Gayathri Karthick,” Sentiment Analysis on Twitter Data by Using Convolutional Neural Network (CNN) and Long Short Term Memory (LSTM)”. https://doi.org/10.1007/s11277-021-08580-3, 4 May 2021.
M. Al-Smadi, B. Talafha, M. Al-Ayyoub, and Y. Jararweh, “Using long short-term memory deep neural networks for aspect-based sentimen analysis of Arabic reviews,” Int. J. Mach. Learn. Cybern., vol. 10, no. 8, pp. 2163–2175, 2019, doi: 10.1007/s13042-018-0799-4.
Arliyanti Nurdin, Bernadus Anggo Seno Aji, Anugrayani Bustamin, and Zaenal Abidin, “PERBANDINGAN KINERJA WORD EMBEDDING WORD2VEC, GLOVE, DAN FASTTEXT PADA KLASIFIKASI TEKS” Jurnal TEKNOKOMPAK, Vol. 14, No. 2, 2020.
J. Eka Sembodo, E. Budi Setiawan, and Z. Abdurahman Baizal, “Data Crawling Otomatis pada Twitter,” Sep. 2016, pp. 11– 16. doi: 10.21108/indosc.2016.111.
A. Aizawa, “An information-theoretic perspective of tf-idf measures q.” [Online]. Available: www.elsevier.com/locate/infoproman.
J. Pennington, R. Socher, and C. D. Manning, “GloVe: Global Vectors for Word Representation.” [Online]. Available:http://nlp.
Tengjun Yao, Zhengang Zhai, Bingtao Gao, “Text Classification Model Based on fastText,”2020 IEEE International Conference on Artificial Intelligence and Information Systems (ICAIIS).
M. A. Nurrohmat and A. SN, “Sentimen Analysis of Novel Review Using Long Short-Term Memory Method,” IJCCS (Indonesian J. Comput. Cybern. Syst., vol. 13, no. 3, p. 209, 2019, doi: 10.22146/ijccs.41236.
X. H. Le, H. V. Ho, G. Lee, and S. Jung, “Application of Long ShortTerm Memory (LSTM) neural network for flood forecasting,” Water (Switzerland), vol. 11, no. 7, 2019, doi: 10.3390/w11071387.
V. M. Patro and M. Ranjan Patra, “Augmenting Weighted Average with Confusion Matrix to Enhance Classification Accuracy,” Transactions on Machine Learning and Artificial Intelligence, vol. 2, no. 4, Aug. 2014, doi: 10.
Dion Pratama Putra, Erwin Budi Setiawan Hoax Detection Using Long Short-Term Memory (LSTM) and Gate Recurrent Unit (GRU) on Social Media Building of Informatics, Technology and Science (BITS) Volume 4, No 4, Maret 2023 Page: 1815?1820.
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Sentiment Analysis of Forest Fires on Social Media Networks Twitter Using the Long Short Term Memory (LSTM) Method
ARTICLE HISTORY
How to Cite
Issue
Section
Copyright (c) 2023 Aziz Alfauzi Aziz, Warih Maharani

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (Refer to The Effect of Open Access).















