Indonesian Journal of Applied Mathematics and Statistics
Vol. 2 No. 1 (2025): Indonesian Journal of Applied Mathematics and Statistics (IdJAMS)

Web Application for IHSG Prediction Using Machine Learning Algorithms

Wijaya, Andryan Kalmer (Unknown)
Lucky, Henry (Unknown)
Arifin, Samsul (Unknown)



Article Info

Publish Date
01 Jun 2025

Abstract

This study investigates the effectiveness of the Long Short-Term Memory (LSTM) method in predicting the stock price of the Composite Stock Price Index (CSPI). LSTM, a variant of Recurrent Neural Networks, is designed to overcome challenges such as the vanishing gradient problem and long-term dependencies in time-series data. Given the dynamic and volatile nature of financial markets, accurate stock price prediction is crucial for investors and analysts. The data set used in this study consists of daily CSPI prices from January 2000 to December 2023, which serve as both training and testing data for model development. The LSTM model is trained to forecast the next day’s stock price, and its performance is compared with traditional statistical models, particularly the Autoregressive Integrated Moving Average (ARIMA) model and linear regression. Performance evaluation is based on the Mean Absolute Percentage Error (MAPE), a widely used metric for assessing predictive accuracy. The results indicate that while the ARIMA model achieves a lower MAPE of 0.7%, demonstrating slightly superior accuracy, the LSTM model also performs well, with a MAPE of approximately 1%. These findings suggest that while statistical models like ARIMA remain highly effective for stock price forecasting, deep learning approaches such as LSTM still offer promising predictive capabilities, especially when handling large and complex datasets. The ability of LSTM to capture non-linear patterns and temporal dependencies makes it a viable alternative for financial forecasting, potentially benefiting traders and market analysts seeking data-driven decision-making tools.

Copyrights © 2025






Journal Info

Abbrev

jms

Publisher

Subject

Computer Science & IT Decision Sciences, Operations Research & Management Education Engineering Public Health

Description

The main aim of the Indonesian Journal of Applied Mathematics and Statistics (IdJAMS) is to publish refereed, well-written original research articles, and studies that describe the latest research and developments in the area of applied mathematics and statistics. This is a broad-based journal ...