Performance of Sentiment Analysis APIs on Political Opinion Polling

被引:0
作者
Johnson, Colton [1 ]
Rege, Manjeet [1 ]
机构
[1] Univ St Thomas, St Paul, MN 55105 USA
来源
ARTIFICIAL INTELLIGENCE AND KNOWLEDGE PROCESSING, AIKP 2023 | 2024年 / 2127卷
关键词
politics; polling; social media; sentiment analysis; commercial language model API;
D O I
10.1007/978-3-031-68617-7_21
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Social media, due to its deep use throughout the United States, has the potential to supply accurate opinion polling. This study aims to replicate job approval polls conducted by professional pollsters through the utilization of sentiment analysis. A Kaggle dataset of Twitter messages from the end of the 2020 United States Election was selected and prepared. The sentiment of each tweet within this dataset was classified by language models created by cloud providers and accessed through APIs. We used two evaluation methods: hypothesis testing and confusion matrix accuracy. Regarding the hypothesis testing, the sentiment classification proportions were evaluated against job approval data aggregated from professional pollsters and did not perform well enough to accept the null hypothesis of no independence. Regarding the confusion matrix accuracy, the classifiers were evaluated against two sets of manually labeled tweets: general sentiment and political sentiment. The classifiers performed reasonably with general sentiment but poorly for political sentiment.
引用
收藏
页码:287 / 300
页数:14
相关论文
共 17 条
[1]   Sentiment Analysis Using Common-Sense and Context Information [J].
Agarwal, Basant ;
Mittal, Namita ;
Bansal, Pooja ;
Garg, Sonal .
COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2015, 2015
[2]  
Almeida F, 2023, Arxiv, DOI [arXiv:1901.09069, DOI 10.48550/ARXIV.1901.09069]
[3]  
[Anonymous], 2021, Social media fact sheet
[4]  
[Anonymous], 2011, P INT AAAI C WEB SOC
[5]  
Bycoffe Aaron., 2016, FiveThirtyEight
[6]   ROBUST LOCALLY WEIGHTED REGRESSION AND SMOOTHING SCATTERPLOTS [J].
CLEVELAND, WS .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 1979, 74 (368) :829-836
[7]  
Coletto Mauro., 2015, IIR
[8]   Sentiment Analysis in Social Media and Its Application: Systematic Literature Review [J].
Drus, Zulfadzli ;
Khalid, Haliyana .
FIFTH INFORMATION SYSTEMS INTERNATIONAL CONFERENCE, 2019, 161 :707-714
[9]  
Joyce B., 2018, 2017 IEEE MIT Undergraduate Research Technology Conference, URTC 2017, V2018-January, P1, DOI DOI 10.1109/URTC.2017.8284176
[10]  
Kennedy C., 2021, Confronting 2016 and 2020 polling limitations