Sentiment Analysis of Covid-19 Bansos Issues on Twitter using Chi-Square and Naïve Bayes

Muhammad Fikri Hidayattullah
{"title":"Sentiment Analysis of Covid-19 Bansos Issues on Twitter using Chi-Square and Naïve Bayes","authors":"Muhammad Fikri Hidayattullah","doi":"10.47709/cnahpc.v5i2.2556","DOIUrl":null,"url":null,"abstract":"Social assistance or what is often called Bansos (Bantuan Sosial) is assistance in the form of goods or money from the government for the community that is temporary and selective. There were many reports from the public complaining that some had not received assistance or had not received it at all. This problematic social assistance has caused a stir in public reports on various social media, including Twitter. To find out the classification of public opinion related to social assistance on Twitter, it is necessary to do pre-processing and analysis of tweets. The dataset used is data crawled using the Twitter API and produces 702 tweet data in CSV format. Tweets retrieved based on the keyword 'bansos' in August 2021. The dataset is divided into two categories, positive and negative. Data with a total of 328 positive categories and 374 data of negative categories. The method applied in this study uses the Chi-Square feature selection method and the Naïve Bayes Classifier algorithm. The purpose of this research is to produce a website-based application that can classify tweets related to social assistance covid-19 into 2 categories, positive and negative by using the Chi-Square feature selection and the Naïve Bayes Classifier algorithm. The F1 score in the positive class is 85% and the negative class is 89% and produces an accuracy value of 87%. The results of the comparison between Naive Bayes and Naive Bayes using Chi-Square show that there is no difference in accuracy.","PeriodicalId":15605,"journal":{"name":"Journal Of Computer Networks, Architecture and High Performance Computing","volume":"28 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-07-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal Of Computer Networks, Architecture and High Performance Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.47709/cnahpc.v5i2.2556","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Social assistance or what is often called Bansos (Bantuan Sosial) is assistance in the form of goods or money from the government for the community that is temporary and selective. There were many reports from the public complaining that some had not received assistance or had not received it at all. This problematic social assistance has caused a stir in public reports on various social media, including Twitter. To find out the classification of public opinion related to social assistance on Twitter, it is necessary to do pre-processing and analysis of tweets. The dataset used is data crawled using the Twitter API and produces 702 tweet data in CSV format. Tweets retrieved based on the keyword 'bansos' in August 2021. The dataset is divided into two categories, positive and negative. Data with a total of 328 positive categories and 374 data of negative categories. The method applied in this study uses the Chi-Square feature selection method and the Naïve Bayes Classifier algorithm. The purpose of this research is to produce a website-based application that can classify tweets related to social assistance covid-19 into 2 categories, positive and negative by using the Chi-Square feature selection and the Naïve Bayes Classifier algorithm. The F1 score in the positive class is 85% and the negative class is 89% and produces an accuracy value of 87%. The results of the comparison between Naive Bayes and Naive Bayes using Chi-Square show that there is no difference in accuracy.
利用卡方和Naïve贝叶斯对Twitter上Covid-19 Bansos问题的情绪分析
社会援助或通常被称为Bansos (Bantuan Social)是政府为社区提供的物品或金钱形式的援助,这是暂时的和有选择性的。有许多来自公众的报告抱怨说,有些人没有得到援助,或者根本没有得到援助。这一问题社会救助在包括推特在内的各种社交媒体上引起了轰动。为了找出Twitter上与社会救助相关的民意分类,有必要对推文进行预处理和分析。使用的数据集是使用Twitter API抓取的数据,并以CSV格式生成702个tweet数据。2021年8月基于关键词“bansos”检索的推文。数据集分为正负两类。共328个正类数据,374个负类数据。本研究采用的卡方特征选择方法和Naïve贝叶斯分类器算法。本研究的目的是制作一个基于网站的应用程序,该应用程序可以使用卡方特征选择和Naïve贝叶斯分类器算法将与社会救助covid-19相关的推文分为积极和消极两类。阳性类别的F1分数为85%,阴性类别的F1分数为89%,准确度值为87%。朴素贝叶斯和朴素贝叶斯使用卡方比较的结果表明,准确率没有差异。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信