Application of Recurrent Neural Network Bi-Long Short-Term Memory, Gated Recurrent Unit and Bi-Gated Recurrent Unit for Forecasting Rupiah Against Dollar (USD) Exchange Rate

Muhammad Fauzi Fayyad, Viki Kurniawan, Muhammad Ridho Anugrah, Baıhaqı Hılmı Estanto, Tasnim Bilal
{"title":"Application of Recurrent Neural Network Bi-Long Short-Term Memory, Gated Recurrent Unit and Bi-Gated Recurrent Unit for Forecasting Rupiah Against Dollar (USD) Exchange Rate","authors":"Muhammad Fauzi Fayyad, Viki Kurniawan, Muhammad Ridho Anugrah, Baıhaqı Hılmı Estanto, Tasnim Bilal","doi":"10.57152/predatecs.v2i1.1094","DOIUrl":null,"url":null,"abstract":"Foreign exchange rates have a crucial role in a country's economic development, influencing long-term investment decisions. This research aims to forecast the exchange rate of Rupiah to the United States Dollar (USD) by using deep learning models of Recurrent Neural Network (RNN) architecture, especially Bi-Long Short-Term Memory (Bi-LSTM), Gated Recurrent Unit (GRU), and Bi-Gated Recurrent Unit (Bi-GRU). Historical daily exchange rate data from January 1, 2013 to November 3, 2023, obtained from Yahoo Finance, was used as the dataset. The model training and evaluation process was performed based on various parameters such as optimizer, batch size, and time step. The best model was identified by minimizing the Mean Square Error (MSE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE). Among the models tested, the GRU model with Nadam optimizer, batch size 16, and timestep 30 showed the best performance, with MSE 3741.6999, RMSE 61.1694, MAE 45.6246, and MAPE 0.3054%. The forecast results indicate a strengthening trend of the Rupiah exchange rate against the USD in the next 30 days, which has the potential to be taken into consideration in making investment decisions and shows promising economic growth prospects for Indonesia.","PeriodicalId":516904,"journal":{"name":"Public Research Journal of Engineering, Data Technology and Computer Science","volume":"118 4","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Public Research Journal of Engineering, Data Technology and Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.57152/predatecs.v2i1.1094","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Foreign exchange rates have a crucial role in a country's economic development, influencing long-term investment decisions. This research aims to forecast the exchange rate of Rupiah to the United States Dollar (USD) by using deep learning models of Recurrent Neural Network (RNN) architecture, especially Bi-Long Short-Term Memory (Bi-LSTM), Gated Recurrent Unit (GRU), and Bi-Gated Recurrent Unit (Bi-GRU). Historical daily exchange rate data from January 1, 2013 to November 3, 2023, obtained from Yahoo Finance, was used as the dataset. The model training and evaluation process was performed based on various parameters such as optimizer, batch size, and time step. The best model was identified by minimizing the Mean Square Error (MSE), Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE). Among the models tested, the GRU model with Nadam optimizer, batch size 16, and timestep 30 showed the best performance, with MSE 3741.6999, RMSE 61.1694, MAE 45.6246, and MAPE 0.3054%. The forecast results indicate a strengthening trend of the Rupiah exchange rate against the USD in the next 30 days, which has the potential to be taken into consideration in making investment decisions and shows promising economic growth prospects for Indonesia.
循环神经网络双长短时记忆、门控循环单元和双门控循环单元在预测印尼盾兑美元汇率中的应用
外汇汇率对一个国家的经济发展起着至关重要的作用,影响着长期的投资决策。本研究旨在利用递归神经网络(RNN)架构的深度学习模型,尤其是双长短期记忆(Bi-LSTM)、门控递归单元(GRU)和双门控递归单元(Bi-GRU),预测印尼盾兑美元(USD)的汇率。数据集采用了从雅虎财经获取的 2013 年 1 月 1 日至 2023 年 11 月 3 日的每日汇率历史数据。模型的训练和评估过程是根据优化器、批量大小和时间步长等不同参数进行的。通过最小化均方误差 (MSE)、均方根误差 (RMSE)、平均绝对误差 (MAE) 和平均绝对百分比误差 (MAPE) 来确定最佳模型。在测试的模型中,采用 Nadam 优化器、批量大小为 16、时间步长为 30 的 GRU 模型表现最佳,MSE 为 3741.6999,RMSE 为 61.1694,MAE 为 45.6246,MAPE 为 0.3054%。预测结果表明,在未来 30 天内,印尼盾对美元的汇率将呈走强趋势,这有可能成为投资决策的考虑因素,并显示出印尼经济增长的美好前景。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信