Sparrow Search Algorithm-Optimized Long Short-Term Memory Model for Stock Trend Prediction

被引:6
作者
Liu, Feiyang [1 ]
Qin, Panke [1 ]
You, Junru [1 ]
Fu, Yanyan [1 ]
机构
[1] Henan Polytech Univ, Sch Software, Jiaozuo 454003, Peoples R China
关键词
NEURAL-NETWORK;
D O I
10.1155/2022/3680419
中图分类号
Q [生物科学];
学科分类号
07 ; 0710 ; 09 ;
摘要
The long short-term memory (LSTM) network is especially suitable for dealing with time series-related problems, which has led to a wide range of applications in analyzing stock market quotations and predicting future price trends. However, the selection of hyperparameters in LSTM networks was often based on subjective experience and existing research. The inability to determine the optimal values of the parameters results in a reduced generalization capability of the model. Therefore, we proposed a sparrow search algorithm-optimized LSTM (SSA-LSTM) model for stock trend prediction. The SSA was used to find the optimal hyperparameters of the LSTM model to adapt the features of the data to the structure of the model, so as to construct a highly accurate stock trend prediction model. With the Shanghai Composite Index stock data in the last decade, the mean absolute percentage error, root mean square error, mean absolute error, and coefficient of determination between stock prices predicted by the SSA-LSTM method and actual prices are 0.0093, 41.9505, 30.5300, and 0.9754. The result indicates that the proposed model possesses higher forecasting precision than other traditional stock forecasting methods and enhances the interpretability of the network model structure and parameters.
引用
收藏
页数:11
相关论文
共 29 条
  • [11] A Hybrid Model Based on Wavelet Decomposition-Reconstruction in Track Irregularity State Forecasting
    Jia, Chaolong
    Wei, Lili
    Wang, Hanning
    Yang, Jiulin
    [J]. MATHEMATICAL PROBLEMS IN ENGINEERING, 2015, 2015
  • [12] Financial time series forecasting using support vector machines
    Kim, KJ
    [J]. NEUROCOMPUTING, 2003, 55 (1-2) : 307 - 319
  • [13] [李金轩 Li Jinxuan], 2021, [南京大学学报. 自然科学版, Journal of Nanjing University. Natural Sciences], V57, P68
  • [14] Fusion of Improved Sparrow Search Algorithm and Long Short-Term Memory Neural Network Application in Load Forecasting
    Liao, Gwo-Ching
    [J]. ENERGIES, 2022, 15 (01)
  • [15] A Modified Sparrow Search Algorithm with Application in 3d Route Planning for UAV
    Liu, Guiyun
    Shu, Cong
    Liang, Zhongwei
    Peng, Baihao
    Cheng, Lefeng
    [J]. SENSORS, 2021, 21 (04) : 1 - 23
  • [16] A CNN-BiLSTM-AM method for stock price prediction
    Lu, Wenjie
    Li, Jiazheng
    Wang, Jingyang
    Qin, Lele
    [J]. NEURAL COMPUTING & APPLICATIONS, 2021, 33 (10) : 4741 - 4753
  • [17] RETRACTED: An Economic Forecasting Method Based on the LightGBM-Optimized LSTM and Time-Series Model (Retracted Article)
    Lv, Jiehua
    Wang, Chao
    Gao, Wei
    Zhao, Qiumin
    [J]. COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2021, 2021
  • [18] Recurrent neural network and a hybrid model for prediction of stock returns
    Rather, Akhter Mohiuddin
    Agarwal, Arun
    Sastry, V. N.
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2015, 42 (06) : 3234 - 3241
  • [19] OBST-based segmentation approach to financial time series
    Si, Yain-Whar
    Yin, Jiangling
    [J]. ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2013, 26 (10) : 2581 - 2596
  • [20] Song Gang, 2019, Journal of Beijing University of Aeronautics and Astronautics, V45, P2533, DOI 10.13700/j.bh.1001-5965.2019.0388