Abstract
Stock price prediction plays a crucial role in investment decision-making, allowing investors to maximize profits and minimize risks. This study implements the Long Short-Term Memory (LSTM) method with Adam optimization to predict the stock price of Bank Negara Indonesia (BBNI) based on historical stock price data from the Indonesia Stock Exchange (2001-2023). LSTM is chosen for its ability to handle sequential data and identify long-term patterns in time series. Meanwhile, the Adam optimization algorithm is used to accelerate model convergence and improve prediction accuracy. The data used includes daily stock prices (closing prices), and the research process involves data collection, preprocessing, LSTM model creation, Adam optimization, training, evaluation, and prediction. The experimental results show that the model with a batch size of 64 and 100 epochs yields an R² of 0.9928 and a MAPE of 1.53%, indicating a very high prediction accuracy. With an accuracy of 98.46%, the LSTM model with Adam optimization proves to be effective in predicting stock prices, providing excellent results for applications in investment strategies. This study demonstrates the great potential of applying data mining and machine learning techniques in more informed and data-driven stock market analysis.
Published Version
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have