Gold price prediction by a CNN-Bi-LSTM model along with automatic parameter tuning
Authors:
Open Access
- 7 March 2024
- journal article
- research article
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 19 (3) , e0298426
Abstract
Banking and stock markets consider gold to be an important component of their economic and financial status. There are various factors that influence the gold price trend and its fluctuations. Accurate and reliable prediction of the gold price is an essential part of financial and portfolio management. Moreover, it could provide insights about potential buy and sell points in order to prevent financial damages and reduce the risk of investment. In this paper, different architectures of deep neural network (DNN) have been proposed based on long short-term memory (LSTM) and convolutional-based neural networks (CNN) as a hybrid model, along with automatic parameter tuning to increase the accuracy, coefficient of determination, of the forecasting results. An illustrative dataset from the closing gold prices for 44 years, from 1978 to 2021, is provided to demonstrate the effectiveness and feasibility of this method. The grid search technique finds the optimal set of DNNs’ parameters. Furthermore, to assess the efficiency of DNN models, three statistical indices of RMSE, RMAE, and coefficient of determination (R2), were calculated for the test set. Results indicate that the proposed hybrid model (CNN-Bi-LSTM) outperforms other models in total bias, capturing extreme values and obtaining promising results. In this model, CNN is used to extract features of input dataset. Furthermore, Bi-LSTM uses CNN’s outputs to predict the daily closing gold price.Keywords
This publication has 44 references indexed in Scilit:
- A tutorial on automatic hyperparameter tuning of deep spectral modelling for regression and classification tasksChemometrics and Intelligent Laboratory Systems, 2022
- Stock Market Predictions Using FastRNN, CNN, and Bi-LSTM-Based Hybrid Model2021
- Deep learning, explained: Fundamentals, explainability, and bridgeability to process-based modellingEnvironmental Modelling & Software, 2021
- A Deep Learning-Based Method for Forecasting Gold Price with Respect to PandemicsSN Computer Science, 2021
- A CNN-BiLSTM-AM method for stock price predictionNeural Computing and Applications, 2020
- Gold volatility prediction using a CNN-LSTM approachExpert Systems with Applications, 2020
- Bayesian BILSTM approach for tourism demand forecastingAnnals of Tourism Research, 2020
- Forecasting significant stock price changes using neural networksNeural Computing and Applications, 2020
- A CNN–LSTM model for gold price time-series forecastingNeural Computing and Applications, 2020
- Research on exchange rate forecasting based on deep belief networkNeural Computing and Applications, 2017