Optimizing LSTM Based Network For Forecasting Stock Market

被引:0
|
作者
Rokhsatyazdi, Ehsan [1 ]
Rahnamayan, Shahryar [1 ]
Amirinia, Hossein [1 ]
Ahmed, Sakib [1 ]
机构
[1] Ontario Tech Univ, Dept Elect Comp & Software Engn, Oshawa, ON, Canada
关键词
Long Short-Term Memory (LSTM); Artificial Neural Network; Ityperparameter Optimization; Time Series Prediction; Statistical Forecasting Model; Differential Evolution (DE); DIFFERENTIAL EVOLUTION;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this modern era, the financial market, more specifically, the stock markets all over the world, deal with an enormous amount of real-time data that facilitates the data analytics and prediction in the field of finance. The main objective of this paper is to propose a novel model of neural network based on Long-Short Term Memory (LSTM) and utilizing one of the most powerful evolutionary algorithms, namely the Differential Evolution (DE), to forecast the next day's stock price of a company. This study focuses on optimizing the ten network hyperparameters related to the detection of temporal patterns of a given dataset, namely, the size of the time window, batch size, the number of LSTM units in hidden layers, the number of hidden layers (LSTM and dense), dropout coefficient for each layer, and the network training optimization algorithm. To the best of our knowledge, this is the first time that all this set of parameters have been optimized simultaneously. Then, the LSTM has been optimized by DE to gain the lower root mean squared error (RAISE) for prediction. The proposed model achieved 8.092 RMSE as its objective value, which is better in comparison with the best statistical forecasting models such as NAIVE, ETS, and SARIMA, which are the-state-of-the-art methods in this filed. Moreover, fur shortening the training time as the main source of computational expensiveness, the proposed method works with a lower number of epochs. By this way, DE tries to find a shallower and faster network even with higher accuracy, which is a remarkable approach.
引用
收藏
页数:7
相关论文
共 50 条
  • [21] A Bayesian regularized artificial neural network for stock market forecasting
    Ticknor, Jonathan L.
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2013, 40 (14) : 5501 - 5506
  • [22] Forecasting Stock Market Indices Using the Recurrent Neural Network Based Hybrid Models: CNN-LSTM, GRU-CNN, and Ensemble Models
    Song, Hyunsun
    Choi, Hyunjun
    [J]. APPLIED SCIENCES-BASEL, 2023, 13 (07):
  • [23] Bank stock price forecasting based on EEMD-LSTM model
    Gan, Guangyan
    Li, Haoxuan
    Zheng, Chunyuan
    [J]. BASIC & CLINICAL PHARMACOLOGY & TOXICOLOGY, 2021, 128 : 202 - 202
  • [24] ModAugNet: A new forecasting framework for stock market index value with an overfitting prevention LSTM module and a prediction LSTM module
    Baek, Yujin
    Kim, Ha Young
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2018, 113 : 457 - 480
  • [25] Stock-Pred: The LSTM Prophet of the Stock Market
    Costa, Thiago Figueiredo
    da Cruz, Andre Rodrigues
    [J]. OPTIMIZATION, LEARNING ALGORITHMS AND APPLICATIONS, OL2A 2022, 2022, 1754 : 293 - 308
  • [26] Stock Market Prediction Using LSTM
    Kothari, Abhishek
    Kulkarni, Atharv
    Kohade, Tejas
    Pawar, Chetan
    [J]. SMART TRENDS IN COMPUTING AND COMMUNICATIONS, VOL 3, SMARTCOM 2024, 2024, 947 : 143 - 164
  • [27] An LSTM based forecasting for major stock sectors using COVID sentiment
    Jabeen, Ayesha
    Afzal, Sitara
    Maqsood, Muazzam
    Mehmood, Irfan
    Yasmin, Sadaf
    Niaz, Muhammad Tabish
    Nam, Yunyoung
    [J]. Computers, Materials and Continua, 2021, 67 (01):
  • [28] Stock Market Forecasting Based on Spatiotemporal Deep Learning
    Li, Yung-Chen
    Huang, Hsiao-Yun
    Yang, Nan-Ping
    Kung, Yi-Hung
    [J]. ENTROPY, 2023, 25 (09)
  • [29] Stock market trend forecasting based on wavelet networks
    Yang, YW
    Liu, GZ
    [J]. 2001 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5: E-SYSTEMS AND E-MAN FOR CYBERNETICS IN CYBERSPACE, 2002, : 2681 - 2681
  • [30] LSTM model optimization on stock price forecasting
    Wang, Yifeng
    Liu, Yuying
    Wang, Meiqing
    Liu, Rong
    [J]. 2018 17TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND APPLICATIONS FOR BUSINESS ENGINEERING AND SCIENCE (DCABES), 2018, : 173 - 177