Perbandingan Kinerja Metode Linear Regression, LSTM dan GRU Untuk Prediksi Harga Penutupan Saham Coca-Cola

Authors

  • Rosalia Natal Silalahi Dian Nuswantoro University
  • Muljono Muljono Universitas Dian Nuswantoro

DOI:

https://doi.org/10.34010/komputika.v13i2.12265

Abstract

In the stock market, making predictions about stock price movements is crucial for traders, as this will affect their potential profits or losses. The accuracy of the prediction results largely depends on the method used and the quality of the data available. Therefore, this research chooses the subject of predicting the stock price of Coco-Cola. This research will conduct a comparison between several different time series data analysis methods. These methods include Linear Regression, LSTM, and GRU. The comparison of the three methods with window-width variations of 3, 4, and 5 provides an in-depth insight into the performance of each model. The comparison results show that the model achieves the best performance when using window-width=3 in the Linear Regression method. Linear Regression with MSE of 0.24, RMSE of 0.49, shows better performance compared to LSTM (2.72 & 1.65) and GRU (0.31 & 0.55). This research provides valuable guidance for future predictive model development, with a focus on improving the accuracy and precision of stock price predictions.

Downloads

Published

2024-10-05

How to Cite

[1]
“Perbandingan Kinerja Metode Linear Regression, LSTM dan GRU Untuk Prediksi Harga Penutupan Saham Coca-Cola”, Komputika, vol. 13, no. 2, pp. 201–211, Oct. 2024, doi: 10.34010/komputika.v13i2.12265.