Stock Price Prediction with Long-short Term Memory Model

被引:0
|
作者
Wang, Runyu [1 ]
Zuo, Zhengyu [2 ]
机构
[1] Beijing Univ Technol, Beijing, Peoples R China
[2] Jinan Univ, Guangzhou, Peoples R China
关键词
component; Stock price prediction; long-short term memory (LSTM); Recurrent Neural Network (RNN); relative root mean square error (RRMSE); mean absolute error (MAE); mean absolute error percentage (MAPE);
D O I
10.1109/MLBDBI54094.2021.00058
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Stock price prediction targets to predict the future development direction of the stock market and the degree of rise and fall of the stock price according to stock market quotations. However, since the stock price has high nonlinear, high noisy, and dynamic characteristics, it is challenging to predict stock prices. This paper predicts stock price prediction with a long-short term memory (LSTM) model according to the above data characteristics. First, because the stock price is distributed in different price ranges, we pre-process the data by normalizing all the data to the range of 0 to 1. Then, we improve the model performance by adjusting the three main parameters, hidden layers, learning rate, and time window. LSTM adds a control part into LSTM to further catch these data to make the best of historical data. We compare the proposed method with Recurrent Neural Network (RNN) on a related dataset with relative root mean square error (RRMSE), mean absolute error (MAE) and mean absolute error percentage (MAPE). The lower the score on all three indicators, the more accurate the prediction. The experimental results show that the scores of LSTM are lower than RNN in three indicators, so its prediction is more accurate than RNN with appropriate parameters. Our analyses illustrate that LSTM can better predict the dynamic non-linear data like a stock price by considering the historical data.
引用
收藏
页码:274 / 279
页数:6
相关论文
共 50 条
  • [21] A Novel Improved Particle Swarm Optimization With Long-Short Term Memory Hybrid Model for Stock Indices Forecast
    Ji, Yi
    Liew, Alan Wee-Chung
    Yang, Lixia
    IEEE ACCESS, 2021, 9 : 23660 - 23671
  • [22] Optimized long short-term memory-based stock price prediction with sentiment score
    Yalanati Ayyappa
    A. P. Siva Kumar
    Social Network Analysis and Mining, 13
  • [23] Method of Rain Attenuation Prediction Based on Long-Short Term Memory Network
    Cornejo, Andres
    Landeros-Ayala, Salvador
    Matias, Jose M.
    Ortiz-Gomez, Flor
    Martinez, Ramon
    Salas-Natera, Miguel
    NEURAL PROCESSING LETTERS, 2022, 54 (04) : 2959 - 2995
  • [24] Surface roughness prediction in milling using long-short term memory modelling
    Manjunath, K.
    Tewary, Suman
    Khatri, Neha
    MATERIALS TODAY-PROCEEDINGS, 2022, 64 : 1300 - 1304
  • [25] Individualized Location Prediction Using Autoencoders and Long-Short Term Memory Networks
    Onwujekwe, Gerald
    Men, Zibo
    Duke, Joseph
    2024 IEEE 3RD INTERNATIONAL CONFERENCE ON COMPUTING AND MACHINE INTELLIGENCE, ICMI 2024, 2024,
  • [26] Prediction of Turbulence Temporal Evolution in PANTA by Long-Short Term Memory Network
    Aizawacaranza M.
    Sasaki M.
    Minagawa H.
    Nakazawa Y.
    Liu Y.
    Jajima Y.
    Kawachi Y.
    Arakawa H.
    Hara K.
    Plasma and Fusion Research, 2022, 17 : 1201048 - 1
  • [27] Optimized long short-term memory-based stock price prediction with sentiment score
    Ayyappa, Yalanati
    Kumar, A. P. Siva
    SOCIAL NETWORK ANALYSIS AND MINING, 2022, 13 (01)
  • [28] Prediction of Turbulence Temporal Evolution in PANTA by Long-Short Term Memory Network
    Aizawacaranza, Masaomi
    Sasaki, Makoto
    Minagawa, Hiroki
    Nakazawa, Yuuki
    Liu, Yoshitatsu
    Jajima, Yuki
    Kawachi, Yuichi
    Arakawa, Hiroyuki
    Hara, Kazuyuki
    PLASMA AND FUSION RESEARCH, 2022, 17
  • [29] Prediction of Electricity Consumption Demand Based on Long-Short Term Memory Network
    Khan, Amanullah
    Maharum, Siti Marwangi Mohamad
    Harun, Faezah
    Shah, Jawad Ali
    Lecture Notes in Electrical Engineering, 2024, 1142 : 165 - 177
  • [30] LONG-TERM AND SHORT-TERM PRICE MEMORY IN THE STOCK-MARKET
    CHOW, KV
    DENNING, KC
    FERRIS, S
    NORONHA, G
    ECONOMICS LETTERS, 1995, 49 (03) : 287 - 293