A comparison of two deep learning models on the stock exchange predictions.

In this study, we introduce the deep learning approach for the time series forecasting model, particularly for the stock price prediction, using two popular deep learning methods: the long short-term memory (LSTM) networks and the gated recurrent unit (GRU) networks. The data are collected from comp...

全面介绍

Saved in:
书目详细资料
Main Authors: Herwindiati, Dyah E., Hendryli, Janson, Sarmin, Nor Haniza
格式: Article
出版: Al-Zaytoonah University of Jordan 2023
主题:
在线阅读:http://eprints.utm.my/105453/
http://www.i-csrs.org/Volumes/ijasca/IJASCA.230720.15.pdf
标签: 添加标签
没有标签, 成为第一个标记此记录!
实物特征
总结:In this study, we introduce the deep learning approach for the time series forecasting model, particularly for the stock price prediction, using two popular deep learning methods: the long short-term memory (LSTM) networks and the gated recurrent unit (GRU) networks. The data are collected from companies in the LQ45 index of the Indonesian Stock Exchange and the deep learning models are implemented using the Python programming language and the TensorFlow library. The results are evaluated using root mean squared error (RMSE), mean absolute percentage error (MAPE), and coefficient of determination or R2. From the experiment, we demonstrate that the LSTM model achieves RMSE 0.005844, MAPE 0.01427, R2 0.99898, and the GRU model achieves RMSE 0.005601, MAPE 0.001594, R2 0.99907 in the training and validation phase where we utilize data up to Dec 31st, 2022. Furthermore, we test the model using unseen data from PT Adaro Energy Indonesia Tbk and find the GRU model achieves better performance with R2 0.66885 compared to the LSTM with R2 0.38756. From the experiment, we find that the deep learning approach can be considered a good forecasting model.