Sentimental analysis of COVID-19 twitter data using deep learning and machine learning models

IF 0.4 Q4 ENGINEERING, MULTIDISCIPLINARY
Simran Darad, S. Krishnan
{"title":"Sentimental analysis of COVID-19 twitter data using deep learning and machine learning models","authors":"Simran Darad, S. Krishnan","doi":"10.17163/ings.n29.2023.10","DOIUrl":null,"url":null,"abstract":"The novel coronavirus disease (COVID-19) is an ongoing pandemic with large global attention. However, spreading fake news on social media sites like Twitter is creating unnecessary anxiety and panic among people towards this disease. In this paper, we applied machine learning (ML) techniques to predict the sentiment of the people using social media such as Twitter during the COVID-19 peak in April 2021. The data contains tweets collected on the dates between 16 April 2021 and 26 April 2021 where the text of the tweets has been labelled by training the models with an already labelled dataset of corona virus tweets as positive, negative, and neutral. Sentiment analysis was conducted by a deep learning model known as Bidirectional Encoder Representations from Transformers (BERT) and various ML models for text analysis and performance which were then compared among each other. ML models used were Naïve Bayes, Logistic Regression, Random Forest, Support Vector Machines, Stochastic Gradient Descent and Extreme Gradient Boosting. Accuracy for every sentiment was separately calculated. The classification accuracies of all the ML models produced were 66.4%, 77.7%, 74.5%, 74.7%, 78.6%, and 75.5\\%, respectively and BERT model produced 84.2%. Each sentiment-classified model has accuracy around or above 75%, which is a quite significant value in text mining algorithms. We could infer that most people tweeting are taking positive and neutral approaches.","PeriodicalId":53899,"journal":{"name":"Ingenius-Revista de Ciencia y Tecnologia","volume":"48 1","pages":""},"PeriodicalIF":0.4000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ingenius-Revista de Ciencia y Tecnologia","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17163/ings.n29.2023.10","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 1

Abstract

The novel coronavirus disease (COVID-19) is an ongoing pandemic with large global attention. However, spreading fake news on social media sites like Twitter is creating unnecessary anxiety and panic among people towards this disease. In this paper, we applied machine learning (ML) techniques to predict the sentiment of the people using social media such as Twitter during the COVID-19 peak in April 2021. The data contains tweets collected on the dates between 16 April 2021 and 26 April 2021 where the text of the tweets has been labelled by training the models with an already labelled dataset of corona virus tweets as positive, negative, and neutral. Sentiment analysis was conducted by a deep learning model known as Bidirectional Encoder Representations from Transformers (BERT) and various ML models for text analysis and performance which were then compared among each other. ML models used were Naïve Bayes, Logistic Regression, Random Forest, Support Vector Machines, Stochastic Gradient Descent and Extreme Gradient Boosting. Accuracy for every sentiment was separately calculated. The classification accuracies of all the ML models produced were 66.4%, 77.7%, 74.5%, 74.7%, 78.6%, and 75.5\%, respectively and BERT model produced 84.2%. Each sentiment-classified model has accuracy around or above 75%, which is a quite significant value in text mining algorithms. We could infer that most people tweeting are taking positive and neutral approaches.
使用深度学习和机器学习模型对COVID-19推特数据进行情感分析
新型冠状病毒病(COVID-19)是一种全球关注的持续大流行。然而,在推特等社交媒体网站上传播假新闻正在给人们带来不必要的焦虑和恐慌。在本文中,我们应用机器学习(ML)技术来预测2021年4月COVID-19高峰期间使用Twitter等社交媒体的人们的情绪。数据包含在2021年4月16日至2021年4月26日期间收集的推文,其中推文的文本已通过使用已标记的冠状病毒推文数据集训练模型进行标记,分为积极、消极和中性。情感分析由深度学习模型(称为“变形金刚双向编码器表示”(BERT))和各种用于文本分析和性能的ML模型进行,然后相互比较。使用的ML模型有Naïve贝叶斯、逻辑回归、随机森林、支持向量机、随机梯度下降和极端梯度增强。每种情绪的准确性分别计算。所有ML模型的分类准确率分别为66.4%、77.7%、74.5%、74.7%、78.6%和75.5%,BERT模型的分类准确率为84.2%。每个情感分类模型的准确率都在75%左右或以上,这在文本挖掘算法中具有相当重要的价值。我们可以推断,大多数发推文的人都采取了积极和中立的态度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Ingenius-Revista de Ciencia y Tecnologia
Ingenius-Revista de Ciencia y Tecnologia ENGINEERING, MULTIDISCIPLINARY-
CiteScore
0.90
自引率
0.00%
发文量
11
审稿时长
12 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信