Implementation of Long Short-Term Memory for Gold Prices Forecasting

被引:0
|
作者
Nurhambali, M. R. [1 ]
Angraini, Y. [1 ]
Fitrianto, A. [1 ]
机构
[1] IPB Univ, Dept Stat, Bogor, Indonesia
来源
关键词
deep learning; forecasting; gold; hyperparameter; LSTM; OPTIMIZATION; LSTM; NETWORK; TIME;
D O I
10.47836/mjms.18.2.11
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Gold is a formof investment known as a safe haven asset because of its stability in unstable market conditions. Gold price forecasting is important for investors as decisions making tool. This study aims to study the best long short-term memory (LSTM) hyperparameters (optimizer, learning rate, and epoch) from cross-validation for forecasting. LSTM, as part of deep learning methods, is developed based on a RNN widely used in time series forecasting. LSTM is superior compared to other methods for its ability to minimize errors and forecast for long-term periods. Walk-forward validation with sliding and extending window scenarios as a form of cross-validation is used to see the method's accuracy. The used data is sourced from theWorld Gold Council with daily data periods for January 1, 2003, to December 31, 2023. The optimizer used is Adam and RMSProp, each with learning rate values of 0.01, 0.001, 0.0001, and epoch values of 100, 500, 1000. The best model uses the Adam optimizer, a learning rate of 0.01, and an epoch value of 100 with a MAPE value of 0.4867% in the validation process. Forecasting results show a tendency for gold prices to increase in the next eight years.
引用
收藏
页码:399 / 422
页数:24
相关论文
共 50 条
  • [1] Short-term Load Forecasting with Distributed Long Short-Term Memory
    Dong, Yi
    Chen, Yang
    Zhao, Xingyu
    Huang, Xiaowei
    [J]. 2023 IEEE POWER & ENERGY SOCIETY INNOVATIVE SMART GRID TECHNOLOGIES CONFERENCE, ISGT, 2023,
  • [2] Forecasting cryptocurrency prices using Recurrent Neural Network and Long Short-term Memory
    Nasirtafreshi, I.
    [J]. DATA & KNOWLEDGE ENGINEERING, 2022, 139
  • [3] Short-Term Load Forecasting using A Long Short-Term Memory Network
    Liu, Chang
    Jin, Zhijian
    Gu, Jie
    Qiu, Caiming
    [J]. 2017 IEEE PES INNOVATIVE SMART GRID TECHNOLOGIES CONFERENCE EUROPE (ISGT-EUROPE), 2017,
  • [4] Stocks Prices Prediction with Long Short-term Memory
    Aksehir, Zinnet Duygu
    Kilic, Erdal
    Akleylek, Sedat
    Dongul, Mesut
    Coskun, Burak
    [J]. PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON INTERNET OF THINGS, BIG DATA AND SECURITY (IOTBDS), 2020, : 221 - 226
  • [5] Incorporating financial news for forecasting Bitcoin prices based on long short-term memory networks
    Jakubik, Johannes
    Nazemi, Abdolreza
    Geyer-Schulz, Andreas
    Fabozzi, Frank J.
    [J]. QUANTITATIVE FINANCE, 2023, 23 (02) : 335 - 349
  • [6] Integrating Long Short-Term Memory and Genetic Algorithm for Short-Term Load Forecasting
    Santra, Arpita Samanta
    Lin, Jun-Lin
    [J]. ENERGIES, 2019, 12 (11)
  • [7] Long Short Term Memory Networks for Short-Term Electric Load Forecasting
    Narayan, Apurva
    Hipel, Keith W.
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2017, : 2573 - 2578
  • [8] Effective Implementation of Convolutional Long Short-Term Memory (ConvLSTM) Network in Forecasting Solar Irradiance
    Obiora, Chibuzor N.
    Ali, Ahmed
    [J]. IECON 2021 - 47TH ANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY, 2021,
  • [9] Short-Term Solar Power Forecasting and Uncertainty Analysis Using Long and Short-Term Memory
    Zhang, Wei
    [J]. JOURNAL OF NANOELECTRONICS AND OPTOELECTRONICS, 2021, 16 (12) : 1948 - 1955
  • [10] Short-term runoff forecasting in an alpine catchment with a long short-term memory neural network
    Frank, Corinna
    Russwurm, Marc
    Fluixa-Sanmartin, Javier
    Tuia, Devis
    [J]. FRONTIERS IN WATER, 2023, 5