Training a Neural Network to Perform Sentiment Analysis of Stocks-Related Tweets

被引:0
作者
Bedford, Wilson Wade [1 ]
Jackson, Nick [1 ]
Pitts, Noah [1 ]
Kaur, Kanwalinderjit [1 ]
Tennison, Connor [1 ]
机构
[1] Calif State Univ, Comp Sci Dept, Bakersfield, CA 93311 USA
来源
SOUTHEASTCON 2024 | 2024年
关键词
sentiment analysis; neural network; data scraper; Long-Short Term Memory (LSTM); machine learning;
D O I
10.1109/SOUTHEASTCON52093.2024.10500164
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Sentiment Analysis is a method of machine learning that creates opinion values based typically on text or other human-created documents. Any form of text written by a person or group can be evaluated with the values, consisting of positive, negative, and neutral. The impact that people's moods and opinions can have on stock prices can lead to accurate predictions of stock market movement. To find how this may affect the performance of a stock, we performed a sentiment analysis of stock-related Tweets to evaluate stakeholder's thoughts on the market and directly compare them. Information gathered from Yahoo Finance (a marketing site) is run alongside Tweets gathered from Twitter's API. The sentiment values of each Tweet are calculated through the use of a Long-Short Term Memory (LSTM) tool created to predict a relation between the selling prices of stocks and the company's sentiment. An F-1 score is calculated based on predictions and actual values which resulted in a 70% accuracy of predictions. This indicates that much more of the Tweets are neutral than previously realized. Although the F-1 score reads as such, the final graph and results of this research prove that there is in fact a correlation between stock sentiment values and daily closing prices, indicating the effects that opinions on Twitter, although small, affect stock prices.
引用
收藏
页码:914 / 921
页数:8
相关论文
共 12 条
[1]  
[Anonymous], 2022, Twitter by the numbers: Stats, demographics and fun facts
[2]  
Ao S, 2018, 2018 INTERNATIONAL CONFERENCE ON AUDIO, LANGUAGE AND IMAGE PROCESSING (ICALIP), P321, DOI 10.1109/ICALIP.2018.8455771
[3]   How Will Your Tweet Be Received? Predicting the Sentiment Polarity of Tweet Replies [J].
Arasteh, Soroosh Tayebi ;
Monajem, Mehrpad ;
Christlein, Vincent ;
Heinrich, Philipp ;
Nicolaou, Anguelos ;
Boldaji, Hamidreza Naderi ;
Lotfinia, Mahshad ;
Evert, Stefan .
2021 IEEE 15TH INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC 2021), 2021, :370-373
[4]  
Batra R., 2018, 2018 INT C COMP MATH, P1, DOI 10.1109/ICOMET.2018.8346382
[5]  
Brownlee J, 2014, Machine Learning Mastery
[6]  
Jain AP, 2015, 2015 IEEE INTERNATIONAL CONFERENCE ON INFORMATION PROCESSING (ICIP), P807, DOI 10.1109/INFOP.2015.7489492
[7]  
Parveen H, 2016, PROCEEDINGS OF THE 2016 2ND INTERNATIONAL CONFERENCE ON APPLIED AND THEORETICAL COMPUTING AND COMMUNICATION TECHNOLOGY (ICATCCT), P416, DOI 10.1109/ICATCCT.2016.7912034
[8]  
Phi M., 2020, Medium
[9]  
Rao T., 2012, P 2012 INT C ADV SOC
[10]  
Sanjeevi M., 2018, MEDIUM