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 条
  • [41] Forecasting stock market index daily direction: A Bayesian Network approach
    Malagrino, Luciana S.
    Roman, Norton T.
    Monteiro, Ana M.
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 2018, 105 : 11 - 22
  • [42] Integration of genetic algorithm with artificial neural network for stock market forecasting
    Sharma, Dinesh K.
    Hota, H. S.
    Brown, Kate
    Handa, Richa
    [J]. INTERNATIONAL JOURNAL OF SYSTEM ASSURANCE ENGINEERING AND MANAGEMENT, 2022, 13 (SUPPL 2) : 828 - 841
  • [43] Network log-ARCH models for forecasting stock market volatility
    Mattera, Raffaele
    Otto, Philipp
    [J]. INTERNATIONAL JOURNAL OF FORECASTING, 2024, 40 (04) : 1539 - 1555
  • [44] Integration of genetic algorithm with artificial neural network for stock market forecasting
    Dinesh K. Sharma
    H. S. Hota
    Kate Brown
    Richa Handa
    [J]. International Journal of System Assurance Engineering and Management, 2022, 13 : 828 - 841
  • [45] Forecasting the Taiwan stock market with a stock trend recognition model based on the characteristic matrix of a bull market
    Chen, Tai-Liang
    [J]. AFRICAN JOURNAL OF BUSINESS MANAGEMENT, 2011, 5 (23): : 9947 - 9960
  • [46] LSTM based decision support system for swing trading in stock market
    Banik, Shouvik
    Sharma, Nonita
    Mangla, Monika
    Shitharth, S.
    Mohanty, Sachi Nandan
    [J]. KNOWLEDGE-BASED SYSTEMS, 2022, 239
  • [47] A LSTM-based method for stock returns prediction : A case study of China stock market
    Chen, Kai
    Zhou, Yi
    Dai, Fangyan
    [J]. PROCEEDINGS 2015 IEEE INTERNATIONAL CONFERENCE ON BIG DATA, 2015, : 2823 - 2824
  • [48] Stock prediction based on random forest and LSTM neural network
    Ma, Yilin
    Han, Ruizhu
    Fu, Xiaoling
    [J]. 2019 19TH INTERNATIONAL CONFERENCE ON CONTROL, AUTOMATION AND SYSTEMS (ICCAS 2019), 2019, : 126 - 130
  • [49] Ensemble System based on Genetic Algorithm for Stock Market Forecasting
    Gonzalez, Rafael Thomazi
    Padilha, Carlos Alberto
    Couto, Dante Augusto
    [J]. 2015 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2015, : 3102 - 3108
  • [50] A Text Based Decision Tree Model for Stock Market Forecasting
    Panigrahi, S. S.
    Mantri, J. K.
    [J]. 2015 International Conference on Green Computing and Internet of Things (ICGCIoT), 2015, : 405 - 411