International Journal of Quantitative Research and Modeling
Vol 6, No 1 (2025)

Implementation of the Gated Recurrent Unit (GRU) Model for Bank Mandiri Stock Price Prediction

Saputra, Renda Sandi (Unknown)
Pirdaus, Dede Irman (Unknown)
Saputra, Moch Panji Agung (Unknown)



Article Info

Publish Date
09 Apr 2025

Abstract

Stock price prediction is a crucial aspect in the financial world, especially in making investment decisions. This study aims to analyze the performance of the Gated Recurrent Unit (GRU) model in predicting Bank Mandiri (BMRI.JK) stock prices using historical data for five years. Stock data was collected from Yahoo Finance and normalized using Min-Max Scaling to improve model stability. Furthermore, the windowing technique was applied to form a dataset that fits the architecture of the time series forecasting-based model. The developed GRU model consists of two GRU layers with 128 neuron units, two dropout layers to prevent overfitting, and one output layer with one neuron to predict stock prices. Model evaluation was carried out using the Mean Squared Error (MSE), Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and R-squared (R² Score) metrics. The experimental results show that the GRU model is able to produce predictions with a high level of accuracy, indicated by the R² Score value of 0.9636, which indicates that the model can explain 96.36% of stock price variability based on historical data.

Copyrights © 2025






Journal Info

Abbrev

ijqrm

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Engineering Environmental Science Physics

Description

International Journal of Quantitative Research and Modeling (IJQRM) is published 4 times a year and is the flagship journal of the Research Collaboration Community (RCC). It is the aim of IJQRM to present papers which cover the theory, practice, history or methodology of Quatitative Research (QR) ...