arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2101.06353cs.CLcs.LG
收藏

基于社交媒体数据的机器学习情感分析在焦虑检测中的比较

Comparison of Machine Learning for Sentiment Analysis in Detecting Anxiety Based on Social Media Data

Universitas Pembangunan Nasional Veteran Yogyakarta(印度尼西亚国立发展大学(日惹老兵建设大学));Universiti Teknikal Malaysia Melaka(马来西亚马六甲技术大学)

Shoffan Saifullah, Yuli Fauziah, Agus Sasmito Aribowo

摘要:

所有人群都感受到了COVID-19疫情的影响。这种情况会引发焦虑,这对每个人都不好。政府的作用是非常有影响力的,在解决这些问题的工作计划。它也有许多利弊,引起公众的焦虑。为此,有必要检测焦虑,以改善政府计划,提高公众的期望。这项研究应用机器学习来检测基于社交媒体对政府应对这一流行病计划的评论的焦虑。这个概念将采用情感分析,根据网民的正面和负面评论来检测焦虑。实现的机器学习方法包括K-NN、Bernoulli、决策树分类器、支持向量分类器、随机森林和XG-boost。使用的数据样本是抓取YouTube评论的结果。使用的数据共计4862条评论,包括负面和正面数据,分别为3211条和1651条。负面数据识别焦虑,而正面数据识别希望(不焦虑)。机器学习是基于计数向量化和TF-IDF的特征提取。结果表明,测试中情感数据量分别为3889和973,训练正确率最高的是随机森林,向量化计数和TF-IDF的特征提取分别为84.99%和82.63%.最好的精确度测试是K-NN,而最好的召回率测试是XG-Boost。因此,随机森林是基于社交媒体数据检测某人焦虑的最准确方法。

英文摘要:

All groups of people felt the impact of the COVID-19 pandemic. This situation triggers anxiety, which is bad for everyone. The government's role is very influential in solving these problems with its work program. It also has many pros and cons that cause public anxiety. For that, it is necessary to detect anxiety to improve government programs that can increase public expectations. This study applies machine learning to detecting anxiety based on social media comments regarding government programs to deal with this pandemic. This concept will adopt a sentiment analysis in detecting anxiety based on positive and negative comments from netizens. The machine learning methods implemented include K-NN, Bernoulli, Decision Tree Classifier, Support Vector Classifier, Random Forest, and XG-boost. The data sample used is the result of crawling YouTube comments. The data used amounted to 4862 comments consisting of negative and positive data with 3211 and 1651. Negative data identify anxiety, while positive data identifies hope (not anxious). Machine learning is processed based on feature extraction of count-vectorization and TF-IDF. The results showed that the sentiment data amounted to 3889 and 973 in testing, and training with the greatest accuracy was the random forest with feature extraction of vectorization count and TF-IDF of 84.99% and 82.63%, respectively. The best precision test is K-NN, while the best recall is XG-Boost. Thus, Random Forest is the best accurate to detect someone's anxiety based-on data from social media.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑