IJCCS (Indonesian Journal of Computing and Cybernetics Systems)
Vol 19, No 4 (2025): October

Machine Learning Approaches for Predicting Seasonal Stock Trends

Gunawan, Jason Miracle (Unknown)
Andreas, Christopher (Unknown)
Saputri, Theresia Ratih Dewi (Unknown)



Article Info

Publish Date
31 Oct 2025

Abstract

The financial market is vital for economic growth yet it often experiences volatility, particularly in Indonesia’s transportation sector where stock prices are strongly affected by seasonal fluctuations. Conventional forecasting methods often neglect these recurring patterns, lowering predictive accuracy. This study assesses the capability of Machine Learning algorithms to capture seasonality in stock price prediction, using PT Garuda Indonesia (Persero) Tbk (GIAA.JK)’s monthly data from August 2019 to May 2025, retrieved from Yahoo Finance. Four models–Linear Regression, Extreme Gradient Boosting (XGBoost), Gated Recurrent Unit (GRU), and Long Short-Term Memory (LSTM)–were trained and tested, with performance evaluated using Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE). Hyperparameter tuning was applied to XGBoost, LSTM, and GRU, while statistical validation employed the Kruskal-Wallis test. Results showed that the tuned GRU outperformed other models, achieving MAE of 5.90, RMSE of 7.33, and MAPE of 9.67%, demonstrating ‘excellent’ accuracy in modelling both short-term and seasonal dynamics. These findings highlight the superiority of GRU in modelling both short-term fluctuations and long-term seasonal dependencies in stock prices. The results contribute practical insights for investors and emphasize the importance of integrating seasonality in predictive models for volatile sectors

Copyrights © 2025






Journal Info

Abbrev

ijccs

Publisher

Subject

Computer Science & IT Control & Systems Engineering

Description

Indonesian Journal of Computing and Cybernetics Systems (IJCCS), a two times annually provides a forum for the full range of scholarly study . IJCCS focuses on advanced computational intelligence, including the synergetic integration of neural networks, fuzzy logic and eveolutionary computation, so ...