Machine Learning Chatbot for Sentiment Analysis of Covid-19 Tweets

Suha Khalil Assayed, K. Shaalan, M. Alkhatib, Safwan Maghaydah
{"title":"Machine Learning Chatbot for Sentiment Analysis of Covid-19 Tweets","authors":"Suha Khalil Assayed, K. Shaalan, M. Alkhatib, Safwan Maghaydah","doi":"10.5121/csit.2023.130404","DOIUrl":null,"url":null,"abstract":"The various types of social media were increased rapidly, as people’s need to share knowledge between others. In fact, there are various types of social media apps and platforms such as Facebook, Twitter, Reddit, Instagram, and others. Twitter remains one of the most popular social application that people use for sharing their emotional states. However, this has increased particularly during the COVID-19 pandemic. In this paper, we proposed a chatbot for evaluating the sentiment analysis by using machine learning algorithms. The authors used a dataset of tweets from Kaggle’s website, and that includes 41157 tweets that are related to the COVID-19. These tweets were classified and labelled to four categories: Extremely positive, positive, neutral, negative, and extremely negative. In this study, we applied Machine Learning algorithms, Support Vector Machines (SVM), and the Naïve Bayes (NB) algorithms and accordingly, we compared the accuracy between them. In addition to that, the classifiers were evaluated and compared after changing the test split ratio. The result shows that the accuracy performance of SVM algorithm is better than Naïve Bayes algorithm, even though Naïve Bayes perform poorly with low accuracy, but it trained the data faster comparing to SVM.","PeriodicalId":159989,"journal":{"name":"Computer Networks & Communications","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks & Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5121/csit.2023.130404","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The various types of social media were increased rapidly, as people’s need to share knowledge between others. In fact, there are various types of social media apps and platforms such as Facebook, Twitter, Reddit, Instagram, and others. Twitter remains one of the most popular social application that people use for sharing their emotional states. However, this has increased particularly during the COVID-19 pandemic. In this paper, we proposed a chatbot for evaluating the sentiment analysis by using machine learning algorithms. The authors used a dataset of tweets from Kaggle’s website, and that includes 41157 tweets that are related to the COVID-19. These tweets were classified and labelled to four categories: Extremely positive, positive, neutral, negative, and extremely negative. In this study, we applied Machine Learning algorithms, Support Vector Machines (SVM), and the Naïve Bayes (NB) algorithms and accordingly, we compared the accuracy between them. In addition to that, the classifiers were evaluated and compared after changing the test split ratio. The result shows that the accuracy performance of SVM algorithm is better than Naïve Bayes algorithm, even though Naïve Bayes perform poorly with low accuracy, but it trained the data faster comparing to SVM.
用于Covid-19推文情感分析的机器学习聊天机器人
由于人们需要与他人分享知识,各种类型的社交媒体迅速增加。事实上,有各种各样的社交媒体应用程序和平台,如Facebook、Twitter、Reddit、Instagram等。Twitter仍然是人们用来分享情绪状态的最受欢迎的社交应用之一。然而,特别是在2019冠状病毒病大流行期间,这种情况有所增加。在本文中,我们提出了一个使用机器学习算法来评估情感分析的聊天机器人。作者使用了Kaggle网站上的推文数据集,其中包括与COVID-19相关的41157条推文。这些推文被分类并标记为四类:极端积极、积极、中性、消极和极端消极。在本研究中,我们应用了机器学习算法、支持向量机(SVM)和Naïve贝叶斯(NB)算法,并比较了它们之间的准确率。除此之外,在改变测试分割比后对分类器进行评价和比较。结果表明,SVM算法的准确率性能优于Naïve贝叶斯算法,尽管Naïve贝叶斯算法的准确率较低,性能较差,但与SVM相比,SVM的训练速度更快。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
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学术官方微信