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 条
  • [1] Neural Network Based Stock Market Forecasting
    El-Hammady, Ahmed Ismail
    Abo-Rizka, Mohamed
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2011, 11 (08): : 204 - 207
  • [2] A Comparative Study of LSTM and DNN for Stock Market Forecasting
    Shah, Dev
    Campbell, Wesley
    Zulkernine, Farhana H.
    [J]. 2018 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2018, : 4148 - 4155
  • [3] Forecasting stock prices in two ways based on LSTM neural network
    Du, Jingyi
    Liu, Qingli
    Chen, Kang
    Wang, Jiacheng
    [J]. PROCEEDINGS OF 2019 IEEE 3RD INFORMATION TECHNOLOGY, NETWORKING, ELECTRONIC AND AUTOMATION CONTROL CONFERENCE (ITNEC 2019), 2019, : 1083 - 1086
  • [4] Optimizing LSTM for time series prediction in Indian stock market
    Yadav, Anita
    Jha, C. K.
    Sharan, Aditi
    [J]. INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND DATA SCIENCE, 2020, 167 : 2091 - 2100
  • [5] Stock Market Forecasting Algorithm Based on Improved Neural Network
    Luo, Bihui
    Chen, Yuan
    Jiang, Weichen
    [J]. PROCEEDINGS 2016 EIGHTH INTERNATIONAL CONFERENCE ON MEASURING TECHNOLOGY AND MECHATRONICS AUTOMATION ICMTMA 2016, 2016, : 628 - 631
  • [6] Stock Market Forecasting Based on Artificial Neural Network Model
    Zhou Shaofu
    Xu Yang
    [J]. RECENT ADVANCE IN STATISTICS APPLICATION AND RELATED AREAS, PTS 1 AND 2, 2008, : 1119 - 1123
  • [7] The Optimizing the Data Quantity in Stock Market Gray Forecasting
    Li Guoping
    [J]. MOT2009: PROCEEDINGS OF ZHENGZHOU CONFERENCE ON MANAGEMENT OF TECHNOLOGY, VOLS I AND II, 2009, : 744 - 746
  • [8] Time series forecasting of stock market indices based on DLWR-LSTM model
    Yao, Dingjun
    Yan, Kai
    [J]. FINANCE RESEARCH LETTERS, 2024, 68
  • [9] Stock-Price Forecasting Based on XGBoost and LSTM
    Pham Hoang Vuong
    Trinh Tan Dat
    Tieu Khoi Mai
    Pham Hoang Uyen
    Pham The Bao
    [J]. COMPUTER SYSTEMS SCIENCE AND ENGINEERING, 2022, 40 (01): : 237 - 246
  • [10] Stock Market Prediction Using LSTM Recurrent Neural Network
    Moghar, Adil
    Hamiche, Mhamed
    [J]. 11TH INTERNATIONAL CONFERENCE ON AMBIENT SYSTEMS, NETWORKS AND TECHNOLOGIES (ANT) / THE 3RD INTERNATIONAL CONFERENCE ON EMERGING DATA AND INDUSTRY 4.0 (EDI40) / AFFILIATED WORKSHOPS, 2020, 170 : 1168 - 1173