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

01/16/2021
by   Shoffan Saifullah, et al.
0

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 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.

READ FULL TEXT
research
05/23/2022

YouTube Ad View Sentiment Analysis using Deep Learning and Machine Learning

Sentiment Analysis is currently a vital area of research. With the advan...
research
11/09/2019

Subjective Sentiment Analysis for Arabic Newswire Comments

This paper presents an approach based on supervised machine learning met...
research
02/19/2021

Sentiment Analysis for YouTube Comments in Roman Urdu

Sentiment analysis is a vast area in the Machine learning domain. A lot ...
research
09/16/2019

Uncovering Flaming Events on News Media in Social Media

Social networking sites (SNSs) facilitate the sharing of ideas and infor...
research
09/27/2020

Machine Learning for Searching the Dark Energy Survey for Trans-Neptunian Objects

In this paper we investigate how implementing machine learning could imp...
research
07/18/2019

Comparison of Classical Machine Learning Approaches on Bangla Textual Emotion Analysis

Detecting emotions from text is an extension of simple sentiment polarit...
research
11/20/2022

Detecting Conspiracy Theory Against COVID-19 Vaccines

Since the beginning of the vaccination trial, social media has been floo...

Please sign up or login with your details

Forgot password? Click here to reset