Peningkatan Akurasi Nilai Harga Saham Menggunakan Metode Long Short-Term Memory (LSTM) pada PT Unilever Tbk
Original Full-Text Article
Download published version for reading and archivingAbstract
The rapid development of technology has an impact on the economy of society, one of which is investing in stocks. Stocks are a proof of an individual's ownership of an asset in a company. However, stock prices have a very high level of fluctuation, so an accurate method is needed to help predict stock prices. LSTM and GRU were chosen due to their intrinsic ability to handle long-term and short-term issues in time series data. LSTM has a complex memory structure that allows decision-making based on long-term and short-term information. Meanwhile, GRU has a simpler structure with a focus on gate mechanisms to control the flow of information, resulting in a lighter and faster model. Therefore, this study will compare two RNN methods, namely Long Short Term Memory (LSTM) and Gated Recurrent Unit (GRU), in predicting stock prices using the stock price data of PT. Unilever (UNVR) with evaluation metrics MAPE and RMSE. The combination of parameters used to evaluate the MAPE and RMSE values in this study includes learning rate, timesteps, batch size, and epoch. The results of this study indicate that the GRU method is more accurate compared to the LSTM method. This is evidenced by the evaluation results of the LSTM method with the lowest MAPE value of 2.42% and the lowest RMSE value of 0.01807, while the evaluation results of the GRU method with the lowest MAPE value of 2.14% and the lowest RMSE value of 0.01775. The combination of parameters used in this study also has an impact on the final MAPE and RMSE results, especially with the use of learning rates of 0.001 and 0.0001. Thus, it can be concluded in this study that the GRU method is more accurate and effective compared to the LSTM method in predicting stock prices.
Keywords:
Author Biographies
Program Studi Teknik Informatika, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta, Indonesia.
Program Studi Teknik Informatika, Sekolah Tinggi Ilmu Komputer Cipta Karya Informatika, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta, Indonesia.
How to Cite
This is an open-access article distributed under the terms of the Creative Commons Attribution 4.0 International License .
- Share: You are free to copy, distribute, and transmit the work in any medium or format.
- Adapt: You are free to remix, transform, and build upon the work for any purpose, even commercially.
- Attribution: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
References
Total: 14 References- Arfan, A., & Lussiana, E. T. P. (2020). Perbandingan algoritma long short-term memory dengan SVR pada prediksi harga saham di Indonesia.
- Elviani, S., Simbolon, R., & Dewi, S. P. (2019). Faktor-Faktor Yang Mempengaruhi Harga Saham Perusahaan Telekomunikasi. JRAM (Jurnal Riset Akuntansi Multiparadigma), 6(1).
- Gao, T., Chai, Y., & Liu, Y. (2017, November). Applying long short term momory neural networks for predicting stock closing price. In 2017 8th IEEE international conference on software engineering and service science (ICSESS) (pp. 575-578). IEEE. https://doi.org/10.1109/ICSESS.2017.8342981.
- Hastomo, W., Karno, A. S. B., Kalbuana, N., Nisfiani, E., & Lussiana, E. T. P. (2021). Optimasi deep learning untuk prediksi saham di masa pandemi covid-19. JEPIN (Jurnal Edukasi dan Penelitian Informatika), 7(2), 133-140.
- Idrees, S. M., Alam, M. A., & Agarwal, P. (2019). A prediction approach for stock market volatility based on time series data. IEEE Access, 7, 17287-17298.
Similar Articles
Articles sharing related keywords and machine learning classifications:
Most read articles by the same author(s)
Other papers published by author(s) in this journal: