Deep Learning Approach to Pharmaceutical Stock Forecasting using LSTM Architecture

Authors

  • Indra Irawan Politeknik Manufaktur Negeri Bangka Belitung
  • M.Hizbul Wathan Politeknik Manufaktur Negeri Bangka Belitung
  • Better Swengky Politeknik Manufaktur Negeri Bangka Belitung
  • Ardi Ramadani Politeknik Manufaktur Negeri Bangka Belitung

DOI:

https://doi.org/10.35842/ijicom.v7i2.206

Keywords:

Prediction, Stock, LSTM, Kalbe Farma, Time Series

Abstract

Stock price forecasting in the pharmaceutical sector is challenging due to high volatility and nonlinear temporal patterns. Conventional statistical models often fail to capture long-term dependencies in financial time series. This study proposes an optimized Long Short-Term Memory (LSTM) architecture to forecast the closing stock prices of PT Kalbe Farma Tbk (KLBF.JK). Historical daily stock data from 2020 to 2024 were collected from Yahoo Finance and preprocessed using Min–Max normalization. In this study, we evaluate several LSTM by varying epochs and batch sizes to identify the optimal model. Experimental results show that the proposed LSTM model achieved the lowest Root Mean Square Error (RMSE) of 25.1406 using 100 epochs and a batch size of 5. The configured LSTM demonstrating superior predictive performance in capturing stock price dynamics. The findings confirm that the optimized LSTM architecture is effective for pharmaceutical stock forecasting and can support data-driven investment decision-making.

Downloads

Download data is not yet available.

Downloads

Published

2025-12-30

How to Cite

Irawan, I., Wathan, M., Swengky, B., & Ramadani, A. (2025). Deep Learning Approach to Pharmaceutical Stock Forecasting using LSTM Architecture . International Journal of Informatics and Computation, 7(2), 769–778. https://doi.org/10.35842/ijicom.v7i2.206