Anggi Adrian, Yenni Danis, Kurniawati, N. Amalita, F. Fitri
{"title":"Forecasting the Exchange Rate of Yen to Rupiah Using the Long Short-Term Memory Method","authors":"Anggi Adrian, Yenni Danis, Kurniawati, N. Amalita, F. Fitri","doi":"10.24036/ujsds/vol1-iss5/114","DOIUrl":null,"url":null,"abstract":"Long Short-Term Memory (LSTM) is a modification of the Recurrent Neural Network (RNN) designed to deal with the issues of exploding and vanishing gradients and makes it possible to manage long-term information. To tackle these problems, modifications were made to the RNN by providing memory cells that can store information for long periods. In this study, the objective was to forecast the exchange rate of Yen to Rupiah using the LSTM method. The data used in this research is daily purchasing rate data from January 2020 to May 2023 which consists of 848 observations. The data was divided into two sets: 80% for training and 20% for testing. For the forecasting process, experiments were conducted to identify the best model by adjusting several hyperparameters. The performance of each model was evaluated using the Mean Absolute Percentage Error (MAPE). Based on the experimental results, the best model obtained was the LSTM model with a batch size of 20, 150 epochs, and 50 neurons per layer, resulted in an MAPE value of 1,5399.","PeriodicalId":220933,"journal":{"name":"UNP Journal of Statistics and Data Science","volume":"2 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-11-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"UNP Journal of Statistics and Data Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24036/ujsds/vol1-iss5/114","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Long Short-Term Memory (LSTM) is a modification of the Recurrent Neural Network (RNN) designed to deal with the issues of exploding and vanishing gradients and makes it possible to manage long-term information. To tackle these problems, modifications were made to the RNN by providing memory cells that can store information for long periods. In this study, the objective was to forecast the exchange rate of Yen to Rupiah using the LSTM method. The data used in this research is daily purchasing rate data from January 2020 to May 2023 which consists of 848 observations. The data was divided into two sets: 80% for training and 20% for testing. For the forecasting process, experiments were conducted to identify the best model by adjusting several hyperparameters. The performance of each model was evaluated using the Mean Absolute Percentage Error (MAPE). Based on the experimental results, the best model obtained was the LSTM model with a batch size of 20, 150 epochs, and 50 neurons per layer, resulted in an MAPE value of 1,5399.