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%.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.