Comparing LSTM and CNN methods in case study on public discussion about Covid-19 in Twitter

Kurniawan, Fachrul ORCID: https://orcid.org/0000-0002-3709-8764, Romadhoni, Yuliana, Zahrona, Laila and Hammad, Jehad (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 (IJACSA), 13 (10). pp. 402-409. ISSN 2156-5570

[img]
Preview
Text
11888.pdf - Published Version
Available under License Creative Commons Attribution.

Download (1MB) | Preview

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%

Item Type: Journal Article
Keywords: COVID-19; LSTM; CNN; sentiment analysis
Subjects: 08 INFORMATION AND COMPUTING SCIENCES > 0801 Artificial Intelligence and Image Processing > 080107 Natural Language Processing
08 INFORMATION AND COMPUTING SCIENCES > 0801 Artificial Intelligence and Image Processing > 080110 Simulation and Modelling
08 INFORMATION AND COMPUTING SCIENCES > 0803 Computer Software > 080309 Software Engineering
08 INFORMATION AND COMPUTING SCIENCES > 0801 Artificial Intelligence and Image Processing
10 TECHNOLOGY > 1006 Computer Hardware
Depositing User: Fachrul Kurniawan
Date Deposited: 06 Nov 2022 08:02

Downloads

Downloads per month over past year

Origin of downloads

Actions (login required)

View Item View Item