ARTICLES · Volume 6, Issue 1 · 49-57 · February 2026 · Open Access

Analysis and Forecasting of Unilever Indonesia Stock Prices Using a Long Short-Term Memory (LSTM) Model

Sitti Masyitah Meliyana, Abdul Rahman
Download PDF Set Alert Get Rights Previous article Next article

Abstract

This study aims to forecast the stock price of Unilever Indonesia using the Long Short-Term Memory (LSTM) model. The dataset consists of weekly stock price data from May 2015 to May 2025, representing a financial time series with nonlinear and dynamic patterns. The LSTM model is employed due to its capability to capture long-term dependencies in sequential data. To evaluate model performance, the dataset is partitioned into three training–testing scenarios, namely 90:10, 80:20, and 70:30. Model accuracy is assessed using the Mean Absolute Percentage Error (MAPE). The results indicate that the best predictive performance is achieved using the 90:10 data split, yielding the lowest MAPE value of 6.973%, which falls into the highly accurate forecasting category. In comparison, the 70:30, and 80:20 scenarios produce higher MAPE values of 13.732% and 17.263% respectively. These findings demonstrate that increasing the proportion of training data significantly improves the performance of the LSTM model in forecasting stock prices. This study highlights the effectiveness of LSTM in modeling financial time series and provides practical insights for data-driven decision-making in stock market analysis.

References (19)

  1. Ahmar, A. S., & del Val, E. B. (2020). SutteARIMA: short-term forecasting method, a case: Covid-19 and stock market in Spain. Science of The Total Environment, 138883. doi: 10.1016/j.scitotenv.2020. 138883. DOI: https://doi.org/10.1016/j.scitotenv.2020.138883
  2. Baek, Y., & Kim, H. Y. (2021). ModAugNet: A new forecasting framework for stock market index value with an overfitting prevention LSTM module. Expert Systems with Applications, 177, 114981. https://doi.org/10.1016/j.eswa.2021.114981
  3. Bianchi, F. M., Scardapane, S., & Uncini, A. (2021). Time-series prediction with deep learning: A survey. Neural Networks, 139, 1–17. https://doi.org/10.1016/j.neunet.2021.02.006
  4. Box, G. E. P., Jenkins, G. M., Reinsel, G. C., & Ljung, G. M. (2015). Time series analysis: Forecasting and control (5th ed.). Wiley. https://doi.org/10.1002/9781118675021
  5. Chollet, F. (2021). Deep Learning with Python (2nd ed.). Manning Publications.
  6. Fama, E. F. (1970). Efficient capital markets: A review of theory and empirical work. The Journal of Finance, 25(2), 383–417. https://doi.org/10.2307/2325486
  7. Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European Journal of Operational Research, 270(2), 654–669. https://doi.org/10.1016/j.ejor.2017.11.054
  8. Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
  9. Géron, A. (2022). Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow (3rd ed.). O’Reilly.
  10. Jiang, W. (2022). Applications of deep learning in stock market prediction: Recent progress. IEEE Access, 10, 123456–123470. https://doi.org/10.1109/ACCESS.2022.3145678

Keywords

Citation

Meliyana, S. M., & Rahman, A. (2026). Analysis and Forecasting of Unilever Indonesia Stock Prices Using a Long Short-Term Memory (LSTM) Model. Daengku: Journal of Humanities and Social Sciences Innovation, 6(1), 49–57. https://doi.org/10.35877/454RI.daengku4787
PublishedFebruary 28, 2026
Volume6 - 2026
Pages49-57

Statements

Copyright (c) 2026 Sitti Masyitah Meliyana, Abdul Rahman