Stock Price Prediction of PT. Pertamina Geothermal Energy Tbk Using Gated Recurrent Unit (GRU) Model

https://doi.org/10.46336/ijmsc.v3i2.203

Authors

  • Renda Sandi Saputra
  • Mohammad Tanzil Hasan Department of Mathematics, Bangladesh Maritime University, Dhaka, Bangladesh
  • Astrid Sulistya Azahra Master's Program of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Jatinangor, West Java, Indonesia

Keywords:

Stock price prediction, PT. Pertamina Geothermal Energy Tbk, Gated Recurrent Unit (GRU)

Abstract

This study aims to predict the stock price of PT. Pertamina Geothermal Energy Tbk (PGEO.JK) using the Gated Recurrent Unit (GRU) model, a neural network architecture in the Recurrent Neural Network (RNN) category that is known to be effective in handling time series data. The data used is historical stock price data from 2022 to 2024 taken from Yahoo Finance. The GRU method was chosen because of its ability to remember long-term information and overcome the vanishing gradient problem. In the research process, the data was divided into two parts, namely training data and testing data. The GRU model was trained without adjusting hyperparameters to measure its performance by default. Model evaluation was carried out using the Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and coefficient of determination (R²) metrics. The results of the study indicate that the GRU model is able to provide good prediction results with an RMSE value of 0.0271, MAE of 0.0180, MAPE of 22.25%, and an R² value of 0.9112. These values ​​indicate that the GRU model is quite accurate in predicting the price of PGEO.JK shares. These findings indicate that GRU is a potential method in stock prediction analysis, especially in the renewable energy sector.

Downloads

Download data is not yet available.

Published

2025-04-23

How to Cite

Saputra, R. S., Hasan, M. T., & Azahra, A. S. (2025). Stock Price Prediction of PT. Pertamina Geothermal Energy Tbk Using Gated Recurrent Unit (GRU) Model. International Journal of Mathematics, Statistics, and Computing, 3(2), 75–80. https://doi.org/10.46336/ijmsc.v3i2.203