Gold price prediction by a CNN-Bi-LSTM model along with automatic parameter tuning

被引:4
作者
Amini, Amirhossein [1 ]
Kalantari, Robab [2 ]
机构
[1] Khatam Univ, Fac Ind Engn, Dept Financial Syst, Tehran, Iran
[2] Khatam Univ, Fac Finance, Dept Financial Engn, Tehran, Iran
关键词
CONVLSTM;
D O I
10.1371/journal.pone.0298426
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
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.
引用
收藏
页数:17
相关论文
共 53 条
[1]  
Afshin M, 2007, IEEE POWER ENG SOC, P104
[2]   Short-term self consumption PV plant power production forecasts based on hybrid CNN-LSTM, ConvLSTM models [J].
Agga, Ali ;
Abbou, Ahmed ;
Labbadi, Moussa ;
El Houm, Yassine .
RENEWABLE ENERGY, 2021, 177 :101-112
[3]   Effects of Automatic Hyperparameter Tuning on the Performance of Multi-Variate Deep Learning-Based Rainfall Nowcasting [J].
Amini, Amirmasoud ;
Dolatshahi, Mehri ;
Kerachian, Reza .
WATER RESOURCES RESEARCH, 2023, 59 (01)
[4]  
Bandyopadhyay G, 2016, Journal of Advanced Management Science, P117, DOI [10.12720/joams.4.2.117-121, 10.12720/joams.4.2.117-121, DOI 10.12720/JOAMS.4.2.117-121]
[5]   Coupling a hybrid CNN-LSTM deep learning model with a Boundary Corrected Maximal Overlap Discrete Wavelet Transform for multiscale Lake water level forecasting [J].
Barzegar, Rahim ;
Aalami, Mohammad Taghi ;
Adamowski, Jan .
JOURNAL OF HYDROLOGY, 2021, 598
[6]  
Bergstra J, 2012, J MACH LEARN RES, V13, P281
[7]  
Chen Y., 2021, Stock Price Forecast Based on CNN-BiLSTM-ECA Model
[8]   China?s commercial bank stock price prediction using a novel K-means-LSTM hybrid approach [J].
Chen, Yufeng ;
Wu, Jinwang ;
Wu, Zhongrui .
EXPERT SYSTEMS WITH APPLICATIONS, 2022, 202
[9]  
Chollet F., 2017, DEEP LEARNING PYTHON
[10]  
Dubey AD, 2016, INT CONF COMP COMMUN