Sentiment Analysis of Negative Comments on Social Media Using Long Short-Term Memory (LSTM) Method with TensorFlow Framework

Authors

  • Iwan Giri Waluyo Pamulang University
  • Juwono Pamulang University

DOI:

https://doi.org/10.55927/ijis.v2i7.4990

Keywords:

Long Short Term Memory, Sentiment Analysis, Social Media, Natural Language Processing

Abstract

There are still many unidentified negative comments on social media that have a negative impact on others' mental and physical well-being. Therefore, sentiment analysis is needed to filter and identify such types of comments, especially on social media. This research aims to analyze and classify unidentified negative comments spread across social media. Sentiment analysis and comment classification are performed using 7773 comments in the Indonesian language. The comments are then visualized using an embedding projector, which gives satisfactory results in classifying words in the comments, where words with negative or positive sentiments are clustered closely together. The model employed in this study is the Long Short Term Memory (LSTM) model, which achieved an accuracy rate of 77.70% and a validation accuracy of 85.20%. The trained model is then used for testing purposes, employing directly collected comments from social media, which give satisfactory results

Downloads

Download data is not yet available.

References

Aggarwal, C. C. (2018). Neural Networks and Deep Learning. Switzerland: Springer International Publishing AG

Cahyadi, R., Damayanti, A., & Aryadani, D. (2020, Februari). Recurrent Neural Network (RNN) Dengan Long Short Term Memory (LSTM) Untuk Analisis Sentimen Data Instagram. Jurnal Informatika dan Komputer (JIKO), V(1), 1-9.

Hootsuite. (2022, January 26). Digital 2022: Another Year of Bumper Growth. Retrieved from We are social: https://wearesocial.com/uk/blog/2022/01/digital-2022-another-year-of-bumper-growth-2/

Kulkarni, A., & Shivananda, A. (2019). Natural Language Processing Recipes: Unlocking Text Data with Machine Learning and Deep Learning using Python. India: Apress.

Lane, H., Howard, C., & Hapke, H. M. (2019). Natural Language Processing in Action: Understanding, analyzing, and generating text with Python. New York: Manning Publications.

Mudding, A. A., & Karim, A. A. (2022). Analisis Sentimen Menggunakan Algoritma LSTM Pada Media Sosial. Jurnal Publikasi Ilmu Komputer dan Multimedia, I(3), 181-187. doi:https://doi.org/10.55606/jupikom.v1i3.517

Putra, J. W. (2020). Pengenalan Konsep Pembelajaran Mesin dan Deep Learning. Tokyo.

Scarpino, M. (2018). TensorFlow for Dummies. New Jersey: John Wiley & Sons, Inc.,.

Sharma, R., & Patel, M. (2018). Toxic Comment Classification Using Neural Networks and Machine Learning. International Advanced Research Journal in Science, Engineering and Technology, 5(9), 47-52.

Singh, P., & Manure, A. (2020). Learn TensorFlow 2.0: Implement Machine Learning and Deep Learning Models With Python. India: Apress.

Zaheri, S., Leath, J., & Stroud, D. (2020). Toxic Comment Classification. SMU Data Science Review, 3(1), 1-16.

Zhang, A., Lipton, Z., Li, M., & Smola, A. (2019). Dive Into Deep Learning. China: Creative Commons Attribution-ShareAlike 4.0 International Public License.

Downloads

Published

2023-07-30

How to Cite

Iwan Giri Waluyo, & Juwono. (2023). Sentiment Analysis of Negative Comments on Social Media Using Long Short-Term Memory (LSTM) Method with TensorFlow Framework. International Journal of Integrative Sciences, 2(7), 1015–1030. https://doi.org/10.55927/ijis.v2i7.4990

Issue

Section

Articles