Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Comparing LSTM and CNN Methods in Case Study on Public Discussion about Covid-19 in Twitter

Author 1: Fachrul Kurniawan Author 2: Yuliana Romadhoni Author 3: Laila Zahrona Author 4: Jehad Hammad
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 10 · Published 2022 · Cited by 5

DOI: 10.14569/IJACSA.2022.0131048

Abstract

This study compares two Deep Learning model methods, which include the Long Short-Term Memory (LSTM) method and the Convolution Neural Network (CNN) method. The aim of the comparison is to discover the performance of two different fundamental deep learning approaches which are based on convolutional theory (CNN) and deal with the vanishing gradient problem (LSTM). The purpose of this study is to compare the accuracy of the two methods using a dataset of 4169 obtained by crawling social media using the Twitter API. The Tweets data we've obtained are based on a specific hashtag keyword, namely "covid-19 pandemic”. This study attempts to assess the sentiment of all tweets about the Covid-19 viral epidemic to determine whether tweets about Covid-19 contain positive or negative thoughts. Before classification, the Preprocessing and Word Embedding steps are completed, and this study has determined that the epoch used is 20 and the hidden layer is 64. Following the classification process, this study concludes that the two methods are appropriate for classifying public conversation sentences against Covid-19. According to this study, the LSTM method is superior, with an accuracy of 83.3%, a precision of 85.6%, a recall of 90.6%, and an f1-score of 88.5%. While the CNN method achieved an accuracy of 81%, precision of 71.7%, recall of 72%, and f1-score of 72%.

Keywords

How to Cite this Article

Kurniawan, F., Romadhoni, Y., Zahrona, L., & Hammad, J. (2022). Comparing LSTM and CNN Methods in Case Study on Public Discussion about Covid-19 in Twitter. International Journal of Advanced Computer Science and Applications, 13(10). https://doi.org/10.14569/IJACSA.2022.0131048

Kurniawan, Fachrul, et al.. "Comparing LSTM and CNN Methods in Case Study on Public Discussion about Covid-19 in Twitter." International Journal of Advanced Computer Science and Applications, vol. 13, no. 10, 2022, https://doi.org/10.14569/IJACSA.2022.0131048.

@article{Kurniawan2022,
  title     = {Comparing LSTM and CNN Methods in Case Study on Public Discussion about Covid-19 in Twitter},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {10},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Fachrul Kurniawan and Yuliana Romadhoni and Laila Zahrona and Jehad Hammad},
  doi       = {10.14569/IJACSA.2022.0131048},
  url       = {https://doi.org/10.14569/IJACSA.2022.0131048}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.

Call for Papers - Important Dates

Volume 17 No. 12, December 2026
Paper Submission Due November 25, 2026
Review Notification December 15, 2026
Publication Date December 31, 2026