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 条
  • [41] Information fusion-based genetic algorithm with long short-term memory for stock price and trend prediction
    Thakkar, Ankit
    Chaudhari, Kinjal
    APPLIED SOFT COMPUTING, 2022, 128
  • [42] Effectiveness of Deep Learning Long Short-Term Memory Network for Stock Price Prediction on Graphics Processing Unit
    Saheed, Yakub Kayode
    Raji, Mustafa Ayobami
    2022 INTERNATIONAL CONFERENCE ON DECISION AID SCIENCES AND APPLICATIONS (DASA), 2022, : 1665 - 1671
  • [43] Stock price prediction using the Sand Cat Swarm Optimization and an improved deep Long Short Term Memory network
    Gulmez, Burak
    BORSA ISTANBUL REVIEW, 2024, 24 : 32 - 46
  • [44] Prediction of Diesel Engine NOx Emissions Based on Long-Short Term Memory Neural Network
    Dai J.
    Pang H.
    Yu Y.
    Bu J.
    Zi X.
    Neiranji Xuebao/Transactions of CSICE (Chinese Society for Internal Combustion Engines), 2020, 38 (05): : 457 - 463
  • [45] Chinese Word Segmentation Method on the Basis of Bidirectional Long-Short Term Memory Model
    Zhang H.-G.
    Li H.
    2017, South China University of Technology (45): : 61 - 67
  • [46] The time dependency predictive model on the basis of community detection and long-short term memory
    Zhang, Gaowei
    Xu, Lingyu
    Xue, Yunlan
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2017, 29 (24):
  • [47] RVFL-LSTM: A lightweight model with long-short term memory for time series
    Liu, Qiang
    Wang, Qin
    Wang, Xizhao
    KNOWLEDGE-BASED SYSTEMS, 2025, 309
  • [48] Reliable Life Prediction and Evaluation Analysis of Lithium-ion Battery Based on Long-short Term Memory Model
    Zhao, Xuejiao
    Wang, Lizhi
    Wang, Xiaohong
    Sun, Yusheng
    Jiang, Tongmin
    Li, Zhiqiang
    Zhang, Yuan
    2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, : 507 - 509
  • [49] Bearing life prediction method based on convolutional attention long-short term memory network
    Zhou J.-M.
    Gao S.
    Li J.-H.
    Xiong W.-H.
    Wang Y.-Q.
    Kongzhi Lilun Yu Yingyong/Control Theory and Applications, 2023, 40 (06): : 1140 - 1148
  • [50] Dynamic Traffic Flow Prediction Based on Long-Short Term Memory Framework With Feature Organization
    Liu, Jing
    Zheng, Fangfang
    Liu, Xiaobo
    Guo, Ge
    IEEE INTELLIGENT TRANSPORTATION SYSTEMS MAGAZINE, 2022, 14 (06) : 221 - 236