{"title":"Gated recurrent neural network with TPE Bayesian optimization for enhancing stock index prediction accuracy","authors":"Bivas Dinda","doi":"arxiv-2406.02604","DOIUrl":null,"url":null,"abstract":"The recent advancement of deep learning architectures, neural networks, and\nthe combination of abundant financial data and powerful computers are\ntransforming finance, leading us to develop an advanced method for predicting\nfuture stock prices. However, the accessibility of investment and trading at\neveryone's fingertips made the stock markets increasingly intricate and prone\nto volatility. The increased complexity and volatility of the stock market have\ndriven demand for more models, which would effectively capture high volatility\nand non-linear behavior of the different stock prices. This study explored\ngated recurrent neural network (GRNN) algorithms such as LSTM (long short-term\nmemory), GRU (gated recurrent unit), and hybrid models like GRU-LSTM, LSTM-GRU,\nwith Tree-structured Parzen Estimator (TPE) Bayesian optimization for\nhyperparameter optimization (TPE-GRNN). The aim is to improve the prediction\naccuracy of the next day's closing price of the NIFTY 50 index, a prominent\nIndian stock market index, using TPE-GRNN. A combination of eight influential\nfactors is carefully chosen from fundamental stock data, technical indicators,\ncrude oil price, and macroeconomic data to train the models for capturing the\nchanges in the price of the index with the factors of the broader economy.\nSingle-layer and multi-layer TPE-GRNN models have been developed. The models'\nperformance is evaluated using standard matrices like R2, MAPE, and RMSE. The\nanalysis of models' performance reveals the impact of feature selection and\nhyperparameter optimization (HPO) in enhancing stock index price prediction\naccuracy. The results show that the MAPE of our proposed TPE-LSTM method is the\nlowest (best) with respect to all the previous models for stock index price\nprediction.","PeriodicalId":501294,"journal":{"name":"arXiv - QuantFin - Computational Finance","volume":"7 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - Computational Finance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.02604","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The recent advancement of deep learning architectures, neural networks, and
the combination of abundant financial data and powerful computers are
transforming finance, leading us to develop an advanced method for predicting
future stock prices. However, the accessibility of investment and trading at
everyone's fingertips made the stock markets increasingly intricate and prone
to volatility. The increased complexity and volatility of the stock market have
driven demand for more models, which would effectively capture high volatility
and non-linear behavior of the different stock prices. This study explored
gated recurrent neural network (GRNN) algorithms such as LSTM (long short-term
memory), GRU (gated recurrent unit), and hybrid models like GRU-LSTM, LSTM-GRU,
with Tree-structured Parzen Estimator (TPE) Bayesian optimization for
hyperparameter optimization (TPE-GRNN). The aim is to improve the prediction
accuracy of the next day's closing price of the NIFTY 50 index, a prominent
Indian stock market index, using TPE-GRNN. A combination of eight influential
factors is carefully chosen from fundamental stock data, technical indicators,
crude oil price, and macroeconomic data to train the models for capturing the
changes in the price of the index with the factors of the broader economy.
Single-layer and multi-layer TPE-GRNN models have been developed. The models'
performance is evaluated using standard matrices like R2, MAPE, and RMSE. The
analysis of models' performance reveals the impact of feature selection and
hyperparameter optimization (HPO) in enhancing stock index price prediction
accuracy. The results show that the MAPE of our proposed TPE-LSTM method is the
lowest (best) with respect to all the previous models for stock index price
prediction.