Predicting the Share Price of Bank Syariah Indonesia Using the GRU (Gated Recurrent Unit) Algorithm
DOI:
https://doi.org/10.55927/ajma.v5i1.15964Keywords:
GRU, Stocks, Baseline Model, Hyperparameter Tuning, MSEAbstract
This scientific paper uses three different models, namely the baseline model, hyperparameter tuning with 4 layers, and hyperparameter tuning with 5 layers, to evaluate the effectiveness of GRU in predicting future stock prices. The performance of each model was measured using Mean Squared Error (MSE), Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). The baseline model, configured with 50 GRU units, 100 lookbacks, 100 timestamps, batch size 64, and 50 epochs, showed the best performance, achieving MSE 5601.44, MAE 54.06, RMSE 74.84, and MAPE 1.90%. In comparison, the 4-layer model showed slightly higher errors, with MSE 10842.89, MAE 79.65, RMSE 104.13, and MAPE 2.77%, while the 5-layer model produced higher errors, with MSE 14687.76, MAE 91.94, RMSE 121.19, and MAPE 3.22%.
Downloads
References
Ahmar, A. S., Singh, P. K., van Thanh, N., Tinh, N. V., & Hieu, V. M. (2021). Prediction of BRIC stock price using ARIMA, SutteARIMA, and holt-winters. Computers, Materials and Continua, 70(1), 523–534. https://doi.org/10.32604/cmc.2022.017068.
Ali, Mm., Hariyati, T., Yudestia Pratiwi, M., & Afifah Sekolah Tinggi Agama Islam Ibnu Rusyd Kotabumi, S. (n.d.). Metodologi Penelitian Kuantitatif Dan Penerapan Nya Dalam Penelitian. In Education Journal.2022 (Vol. 2, Issue 2).
Alshammari, T. S., Ismail, M. T., AL-WADI, S., Saleh, M. H., & Jaber, J. J. (2020). Modeling and Forecasting Saudi Stock Market Volatility Using Wavelet Methods. Journal of Asian Finance, Economics and Business, 7(11), 083–093. https://doi.org/10.13106/jafeb.2020.vol7.no11.083.
Azzahra Nasution, D., Khotimah, H. H., & Chamidah, N. (2019). PERBANDINGAN NORMALISASI DATA UNTUK KLASIFIKASI WINE MENGGUNAKAN ALGORITMA K-NN (Vol. 4, Issue 1).
Deshpande, V. (2023). Implementation of Long Short-Term Memory (LSTM) Networks for Stock Price Prediction. Research Journal of Computer Systems and Engineering, 4(2), 60–72. https://doi.org/10.52710/rjcse.74.
Fakharchian, S. (2023). Designing a forecasting assistant of the Bitcoin price based on deep learning using market sentiment analysis and multiple feature extraction. Soft Computing, 27(24), 18803– 18827. https://doi.org/10.1007/s00500-023-09028-5.
Oni, M., Dolok Lauro, M., Winata, A., Handhayani, T., Informatika, T., Informasi, T., & Tarumanagara, U. (2023). Analysis And Forecasting of Foodstuffs Prices In Bandung Using Gated Recurrent Unit. In Jurnal Esensi Infokom (Vol. 7, Issue 2).
Panjaitan, M., & Simangunsong, S. R. S. (2025). Special Education As Pillar Of Inclusive Justice Towards Golden Indonesia 2045. Journal of Multidisciplinary Research (MULTIR), 1(1), 41-45.
Predicting TSLA Stock Price Based on LSTM and GRU Models. (2023). Academic Journal of Business & Management, 5(10). https://doi.org/10.25236/ajbm.2023.051011.
Saud, A. S., & Shakya, S. (2019). Analysis of Gradient Descent Optimization Techniques with Gated Recurrent Unit for Stock Price Prediction: A Case Study on Banking Sector of Nepal Stock Exchange. Journal of Institute of Science and Technology, 24(2), 17–21. https://doi.org/10.3126/jist.v24i2.27247.
Sembiring, E., & Simangunsong, S. R. (2024). The Effect Of Marketing Affilliate Tiktok And Discount Prices On Purchasing Decisions In Durin Tonggal Village. Jurnal Ekonomi, 13(02), 1486-1492.
Simangunsong, S. R. (2023). Analisis Dampak Inflasi dan Angkatan kerja Terhadap Pertumbuhan Ekonomi di Sumatera Utara. Jurnal Multimedia dan Teknologi Informasi (Jatilima), 5(02), 165-170.
Simangunsong, S. R., Sianturi, E., Satputri, H. L., Putri, N. Y., & Sitepu, N. B. (2024). Sosialisasi Edukasi Kreasi Sampah Menjadi Rupiah di Desa Suka Meriah Kabupaten Tanah Karo. RESPINARIA: Jurnal Pengabdian Kepada Masyarakat, 1(1), 33-37.
Simangunsong, S. R., Wira, T. S., & Manullang, Y. P. (2025). Analysis of Soft Saving as a Financial Strategy in Addressing the Consumptive Behavior of Generation Z in the Digital Era. Journal of Multidisciplinary Research (MULTIR), 1(1), 46-49.
Wu, Z., & Huang, M. (2023). Stock Price Prediction During the COVID-19 Pandemic Based on the GRU Algorithm. Advances in Economics, Management and Political Sciences, 47(1), 94–101. https://doi.org/10.54254/2754-1169/47/20230370.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Muhammad Nurmarendra, Anik Anik, Yasir Riady

This work is licensed under a Creative Commons Attribution 4.0 International License.




























