Developing an Emotion Estimation Model Using Tweet Data

This study creates a model for estimating sentiment from tweets that include “work style reforms “.The system to extract sentiment scores from the tweets was developed using MS Excel and VBA (Visual Basic for Applications). A total of 11,272 tweets were collected using Twitter's API v2 (Applica...

Full description

Saved in:
Bibliographic Details
Published inJapanese Journal of Physiotherapy in Occupational Health Vol. 2; no. 1; pp. 10 - 17
Main Author HARADA, Yuusuke
Format Journal Article
LanguageJapanese
Published Japanese Society of Physiotherapy in Occupational Health 09.05.2024
日本産業理学療法研究会
Subjects
Online AccessGet full text
ISSN2758-4798
DOI10.60295/jjpoh.2.1_10

Cover

More Information
Summary:This study creates a model for estimating sentiment from tweets that include “work style reforms “.The system to extract sentiment scores from the tweets was developed using MS Excel and VBA (Visual Basic for Applications). A total of 11,272 tweets were collected using Twitter's API v2 (Application Programming Interface v2), and 8,570 tweets were selected for analysis after removing retweets. The data was divided into training and test sets, and sentiment analysis was performed. The sentiment scores, labels, and tweet text obtained from the analysis were trained using a support vector machine (SVM). The performance of the test data was evaluated using a stratified 5-part cross-validation method.The results are as follows: The sentiment analysis results for the training and test data indicated that 2,896 and 2,824 tweets were negative, respectively, while 1,389 and 1,461 were positive. The performance evaluation of the sentiment estimation model showed an area under the curve (AUC) of 0.936.This study developed a system using Excel to extract sentiment scores and analyzed the sentimental words used in conjunction with “work style reforms”. The study developed an sentiment estimation model with a high classification performance of AUC 0.936 based on test data validation.
ISSN:2758-4798
DOI:10.60295/jjpoh.2.1_10