Comparison of Hybrid CNN-LSTM, LSTM, and CNN Models for Stock Price Prediction (Case Study: PT. Indofood Sukses Makmur Tbk)

Authors

  • R. Nurhadi Wijaya S., S.T., M.Kom Universitas Respati Yogyakarta Author
  • Marselina Endah H., S.T., M.Cs Universitas Respati Yogyakarta Author
  • Putra Wanda, S.Kom., M.Eng., Ph.D Universitas Respati Yogyakarta Author
  • Rafitajudin Universitas Respati Yogyakarta Author

DOI:

https://doi.org/10.70687/sdts5v08

Keywords:

Convolutional Neural Network, Stock Price, Prediction, Long Short-Term Memory, Time Series

Abstract

This study develops a hybrid deep learning model by combining Convolutional Neural Networks (CNN) and Long Short-Term Memory (LSTM) to predict the stock price of INDF.JK using historical data from 2015 to 2025. Feature extraction is performed using Conv1D, followed by MaxPooling1D to reduce dimensions, and LSTM to capture time-dependent patterns. The model is evaluated using the R², RMSE, MAE, and MAPE metrics. The CNN-LSTM model demonstrates the best performance with an R² of 0.9759, RMSE of 87.77, MAE of 63.97, and MAPE of 1.02%. As a comparison, the single CNN model produced an R² of 0.9711, RMSE of 96.18, MAE of 71.16, and MAPE of 1.12%, while the single LSTM model obtained an R² of 0.9752, RMSE of 89.13, MAE of 66.99, and MAPE of 1.07%. These results confirm that the hybrid approach is superior in terms of stock price prediction accuracy compared to the use of a single model.

Downloads

Download data is not yet available.

Published

2025-12-31

How to Cite

Comparison of Hybrid CNN-LSTM, LSTM, and CNN Models for Stock Price Prediction (Case Study: PT. Indofood Sukses Makmur Tbk). (2025). International Journal of Informatics Engineering and Computing, 2(2). https://doi.org/10.70687/sdts5v08

Similar Articles

1-10 of 17

You may also start an advanced similarity search for this article.