Journal of Information Technology and Computer Science
Vol. 10 No. 2: August 2025

Gold Prices Prediction using Univariate Long Short Term Memory Method

Aditama, Gustian (Unknown)
Yudistira, Novanto (Unknown)
Mahmudy, Wayan Firdaus (Unknown)



Article Info

Publish Date
01 Sep 2025

Abstract

Gold is one of the precious metals that serves various purposes beyond being a jewelry material. When it comes to gold, it is often associated with the economy. Before the existence of currency, humans used gold as the base material for coins as a medium of exchange. Currently, one of the commonly utilized functions of gold is as an investment asset. Due to its utility and high demand, the price of gold can fluctuate over time. This research aims to predict the price of gold using the Long Short Term Memory (LSTM) method. LSTM is a deep learning technique that performs well when applied to time series data. The performance of LSTM can be assessed using metrics such as Mean Absolute Percentage Error (MAPE) and Root Mean Squared Error (RMSE). Thus, this study proposes the prediction of gold prices using LSTM with an optimized architecture. In order to achieve it, testing is conducted based on sequence length and hidden size. The best results were achieved using Univariate LSTM with a sequence length of 25 and a hidden size of 150, that produce RMSE of 22.014 and MAPE of 1.133%.

Copyrights © 2025






Journal Info

Abbrev

jitecs

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering

Description

The Journal of Information Technology and Computer Science (JITeCS) is a peer-reviewed open access journal published by Faculty of Computer Science, Universitas Brawijaya (UB), Indonesia. The journal is an archival journal serving the scientist and engineer involved in all aspects of information ...