An optimal deep learning-based LSTM for stock price prediction using twitter sentiment analysis

被引:51
|
作者
Swathi, T. [1 ]
Kasiviswanath, N. [2 ]
Rao, A. Ananda [3 ]
机构
[1] Jawaharlal Nehru Technol Univ Anantapur JNTUA, Dept CSE, Ananthapuramu 515002, India
[2] G Pulla Reddy Engn Coll Kurnool, Dept CSE, Kurnool 518001, India
[3] Rayalaseema Univ, Kurnool 518001, India
关键词
Sentiment analysis; Long short-term memory (LSTM); Teaching and learning-based optimization (TLBO); Twitter data; Stock price prediction; Deep learning; Adam optimizer;
D O I
10.1007/s10489-022-03175-2
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Stock Price Prediction is one of the hot research topics in financial engineering, influenced by economic, social, and political factors. In the present stock market, the positive and negative opinions are the important indicators for the forthcoming stock prices. At the same time, the growth of the internet and social network enables the clients to express their opinions and shares their views on future stock processes. Therefore, sentiment analysis of the social media data of stock prices helps to predict future stock prices effectively. With this motivation, this research presents a new novel Teaching and Learning Based Optimization (TLBO) model with Long Short-Term Memory (LSTM) based sentiment analysis for stock price prediction using Twitter data. The tweets are generally short, having unusual grammatical structures, and hence the data pre-processing is essential to remove the unwanted data and transform it into a meaningful format. Besides, the LSTM model is applied to classify tweets into positive and negative sentiments related to stock prices. They help investigate how the tweets correlate with the nature of the stock market prices. To improve the predictive outcome of the LSTM model, the Adam optimizer is used to determine the learning rate. Furthermore, the TLBO model is applied to tune the output unit of the LSTM model optimally. Experiments are carried out on the Twitter data to ensure the better stock price predictive performance of the TLBO-LSTM model. The experimental findings of the TLBO-LSTM model show promising results over the state of art methods in terms of diverse aspects. The TLBO-LSTM model produced a superior outcome, with a maximum precision of 95.33%, a recall of 85.28%, and an F-score of 90%. By achieving a greater accuracy of 94.73%, the TLBO-LSTM model surpassed the other techniques.
引用
收藏
页码:13675 / 13688
页数:14
相关论文
共 50 条
  • [1] An optimal deep learning-based LSTM for stock price prediction using twitter sentiment analysis
    T. Swathi
    N. Kasiviswanath
    A. Ananda Rao
    [J]. Applied Intelligence, 2022, 52 : 13675 - 13688
  • [2] Stock Price Prediction Using Optimal Network Based Twitter Sentiment Analysis
    Kumar, Singamaneni Kranthi
    Akeji, Alhassan Alolo Abdul-Rasheed
    Mithun, Tiruvedula
    Ambika, M.
    Jabasheela, L.
    Walia, Ranjan
    Sakthi, U.
    [J]. INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2022, 33 (02): : 1217 - 1227
  • [3] Stock closing price prediction based on sentiment analysis and LSTM
    Zhigang Jin
    Yang Yang
    Yuhong Liu
    [J]. Neural Computing and Applications, 2020, 32 : 9713 - 9729
  • [4] Stock closing price prediction based on sentiment analysis and LSTM
    Jin, Zhigang
    Yang, Yang
    Liu, Yuhong
    [J]. NEURAL COMPUTING & APPLICATIONS, 2020, 32 (13): : 9713 - 9729
  • [5] A Deep Learning Framework for Hourly Bitcoin Price Prediction Using Bi-LSTM and Sentiment Analysis of Twitter Data
    Raj Patel
    Jaya Chauhan
    Naveen Kumar Tiwari
    Vipin Upaddhyay
    Abhishek Bajpai
    [J]. SN Computer Science, 5 (6)
  • [6] MODELING STOCK PRICE MOVEMENTS PREDICTION BASED ON NEWS SENTIMENT ANALYSIS AND DEEP LEARNING
    Tajmazinani, Maedeh
    Hassani, Hossein
    Raei, Reza
    Rouhani, Saeed
    [J]. ANNALS OF FINANCIAL ECONOMICS, 2022, 17 (01)
  • [7] Stock Prediction using Deep Learning and Sentiment Analysis
    Xu, Yichuan
    Keselj, Vlado
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2019, : 5573 - 5580
  • [8] Developing Hybrid Deep Learning Models for Stock Price Prediction Using Enhanced Twitter Sentiment Score and Technical Indicators
    Das, Nabanita
    Sadhukhan, Bikash
    Ghosh, Rajdeep
    Chakrabarti, Satyajit
    [J]. COMPUTATIONAL ECONOMICS, 2024,
  • [9] A Stock Price Prediction Model Based on Investor Sentiment and Optimized Deep Learning
    Mu, Guangyu
    Gao, Nan
    Wang, Yuhan
    Dai, Li
    [J]. IEEE ACCESS, 2023, 11 : 51353 - 51367
  • [10] Investigating the effectiveness of Twitter sentiment in cryptocurrency close price prediction by using deep learning
    Amirshahi, Bahareh
    Lahmiri, Salim
    [J]. EXPERT SYSTEMS, 2023,