Comparison of the Accuracy of Sentiment Analysis on the Twitter of the DKI Jakarta Provincial Government during the COVID-19 Vaccine Time

Adi Winanto, Cahyani Budihartanti
{"title":"Comparison of the Accuracy of Sentiment Analysis on the Twitter of the DKI Jakarta Provincial Government during the COVID-19 Vaccine Time","authors":"Adi Winanto, Cahyani Budihartanti","doi":"10.36596/jcse.v3i1.249","DOIUrl":null,"url":null,"abstract":"Currently, the Government is intensively utilizing social media, one of which is Twitter as a place of interaction with the community. The results of these interactions can be used as feedback to determine whether public opinion on public policies is positive or negative. Tweets from users can be a supporting parameter for the government in evaluating future policies and decision making by applying the sentiment analysis method. This study aims to determine positive or negative sentiments on user tweets against the official twitter account of the DKI Jakarta Provincial Government during the COVID19 vaccine period. The data obtained are 1658 lines from March 30 to April 5, 2021 with queries on tweets containing words or mentioning the username @dkijakarta, which will be grouped by sentiment class, namely negative and positive using the TF-IDF Vectorizer for word weighting and classification using several methods, namely, nave Bayes with accuracy values. 82.50% with class recall on positive sentiment 88% and negative 77% and in class precision showing positive at 79.28% and negative at 86.52% in the rapid miner application then k-NN with an accuracy value of 81.50% with class recall on positive sentiment 85% and negative 78% and class precision shows positive at 79.44% and negative at 83.87% in the rapid miner application. And the accuracy value of the best method in this training data classification comparison is nave Bayes, the results the end of testing the sample dataset using the nave Bayes method with 84.80% accuracy with class recall at 85.01% positive sentiment and 84.59% negative sentiment and at c lass precision shows positive at 85.21% and negative at 84.38% in rapid mining applications.","PeriodicalId":354823,"journal":{"name":"Journal of Computer Science and Engineering (JCSE)","volume":"12 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-02-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computer Science and Engineering (JCSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.36596/jcse.v3i1.249","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Currently, the Government is intensively utilizing social media, one of which is Twitter as a place of interaction with the community. The results of these interactions can be used as feedback to determine whether public opinion on public policies is positive or negative. Tweets from users can be a supporting parameter for the government in evaluating future policies and decision making by applying the sentiment analysis method. This study aims to determine positive or negative sentiments on user tweets against the official twitter account of the DKI Jakarta Provincial Government during the COVID19 vaccine period. The data obtained are 1658 lines from March 30 to April 5, 2021 with queries on tweets containing words or mentioning the username @dkijakarta, which will be grouped by sentiment class, namely negative and positive using the TF-IDF Vectorizer for word weighting and classification using several methods, namely, nave Bayes with accuracy values. 82.50% with class recall on positive sentiment 88% and negative 77% and in class precision showing positive at 79.28% and negative at 86.52% in the rapid miner application then k-NN with an accuracy value of 81.50% with class recall on positive sentiment 85% and negative 78% and class precision shows positive at 79.44% and negative at 83.87% in the rapid miner application. And the accuracy value of the best method in this training data classification comparison is nave Bayes, the results the end of testing the sample dataset using the nave Bayes method with 84.80% accuracy with class recall at 85.01% positive sentiment and 84.59% negative sentiment and at c lass precision shows positive at 85.21% and negative at 84.38% in rapid mining applications.
DKI雅加达省政府在COVID-19疫苗接种期间Twitter情绪分析准确性的比较
目前,政府正大力利用社会媒体,其中之一是Twitter,作为与社会互动的地方。这些相互作用的结果可以作为反馈来确定公众对公共政策的意见是积极的还是消极的。通过情感分析方法,用户的推文可以成为政府评估未来政策和决策的辅助参数。本研究旨在确定用户在covid - 19疫苗接种期间对DKI雅加达省政府官方推特账户的推文的正面或负面情绪。获得的数据为1658行,从2021年3月30日到4月5日,对包含单词或提到用户名@dkijakarta的tweet进行查询,使用TF-IDF Vectorizer将其按情绪类别分组,即消极和积极,使用几种方法进行单词加权和分类,即具有精度值的朴素贝叶斯。在快速挖掘应用中,k-NN的准确率值为81.50%,在积极情绪上的类召回率为85%,在负77%,在类精度上为79.28%,在负86.52%;在快速挖掘应用中,k-NN的准确率值为81.50%,在积极情绪上的类召回率为85%,在负78%,在类精度上为79.44%,在负83.87%。在此训练数据分类比较中,准确率值最好的方法是朴素贝叶斯,使用朴素贝叶斯方法测试样本数据集的结果为准确率84.80%,类召回率为85.01%,类召回率为84.59%,在c类精度下,在快速挖掘应用中,正召回率为85.21%,负召回率为84.38%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信