Comparative Analysis of LSTM Neural Network and SVM for USD Exchange Rate Prediction: A Study on Different Training Data Scenarios

Yesy Diah Rosita, Lady Silk Moonlight
{"title":"Comparative Analysis of LSTM Neural Network and SVM for USD Exchange Rate Prediction: A Study on Different Training Data Scenarios","authors":"Yesy Diah Rosita, Lady Silk Moonlight","doi":"10.15294/sji.v11i1.49975","DOIUrl":null,"url":null,"abstract":"Purpose: This paper aims to investigate and compare the performance of LSTM Neural Network and Support Vector Machines (SVM) in predicting the USD exchange rate using three different training data scenarios: 45%, 55%, and 75%. The study employs a dataset from the Indonesian Central Bureau of Statistics (BPS) for the period of January 1 to June 30, 2021, encompassing attributes USD Selling Rate.Methods: The methods involve implementing LSTM and SVM algorithms within the Python programming language using Google Colaboratory. Three distinct training data scenarios are explored to evaluate the models' robustness. Performance metrics, including Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and R-squared, are employed for evaluation.Result: Results reveal that LSTM demonstrates superior prediction accuracy compared to SVM across all scenarios, even though it incurs a longer training time. Notably, in the 75% training data scenario, LSTM achieves an MAE of 49.52, RMSE of 63.08, and R-squared of 0.37906, outperforming SVM with MAE of 138.33, RMSE of 161.58, and R-squared of 0.34277.Novelty: This study innovatively compares LSTM Neural Network and Support Vector Machines (SVM) for USD exchange rate prediction across different training scenarios (45%, 55%, and 75%). Unlike previous research focusing on individual models, this study systematically evaluates both methods, highlighting the nuanced balance between prediction accuracy and training time. The findings offer novel insights into LSTM and SVM applicability in currency forecasting, providing valuable guidance for researchers and practitioners in model selection based on specific predictive task requirements.","PeriodicalId":30781,"journal":{"name":"Scientific Journal of Informatics","volume":"4 22","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Journal of Informatics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.15294/sji.v11i1.49975","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Purpose: This paper aims to investigate and compare the performance of LSTM Neural Network and Support Vector Machines (SVM) in predicting the USD exchange rate using three different training data scenarios: 45%, 55%, and 75%. The study employs a dataset from the Indonesian Central Bureau of Statistics (BPS) for the period of January 1 to June 30, 2021, encompassing attributes USD Selling Rate.Methods: The methods involve implementing LSTM and SVM algorithms within the Python programming language using Google Colaboratory. Three distinct training data scenarios are explored to evaluate the models' robustness. Performance metrics, including Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and R-squared, are employed for evaluation.Result: Results reveal that LSTM demonstrates superior prediction accuracy compared to SVM across all scenarios, even though it incurs a longer training time. Notably, in the 75% training data scenario, LSTM achieves an MAE of 49.52, RMSE of 63.08, and R-squared of 0.37906, outperforming SVM with MAE of 138.33, RMSE of 161.58, and R-squared of 0.34277.Novelty: This study innovatively compares LSTM Neural Network and Support Vector Machines (SVM) for USD exchange rate prediction across different training scenarios (45%, 55%, and 75%). Unlike previous research focusing on individual models, this study systematically evaluates both methods, highlighting the nuanced balance between prediction accuracy and training time. The findings offer novel insights into LSTM and SVM applicability in currency forecasting, providing valuable guidance for researchers and practitioners in model selection based on specific predictive task requirements.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于美元汇率预测的 LSTM 神经网络与 SVM 的比较分析:不同训练数据场景研究
目的:本文旨在研究和比较 LSTM 神经网络和支持向量机 (SVM) 在使用三种不同的训练数据预测美元汇率时的性能:45%、55% 和 75%。研究采用的数据集来自印度尼西亚中央统计局(BPS),时间跨度为 2021 年 1 月 1 日至 6 月 30 日,包含美元销售汇率属性:方法包括使用 Google Colaboratory 在 Python 编程语言中实施 LSTM 和 SVM 算法。为评估模型的鲁棒性,探索了三种不同的训练数据场景。评估采用的性能指标包括平均绝对误差 (MAE)、均方根误差 (RMSE) 和 R 平方:结果表明,在所有情况下,LSTM 都比 SVM 显示出更高的预测准确性,尽管它需要更长的训练时间。值得注意的是,在 75% 的训练数据场景中,LSTM 的 MAE 为 49.52,RMSE 为 63.08,R-squared 为 0.37906,优于 MAE 为 138.33,RMSE 为 161.58,R-squared 为 0.34277 的 SVM。与以往侧重于单个模型的研究不同,本研究系统地评估了这两种方法,强调了预测准确性与训练时间之间的微妙平衡。研究结果为 LSTM 和 SVM 在货币预测中的适用性提供了新的见解,为研究人员和从业人员根据具体预测任务要求选择模型提供了宝贵的指导。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
13
审稿时长
24 weeks
期刊最新文献
A Comparative Study of Random Forest and Double Random Forest Models from View Points of Their Interpretability Comparative Analysis of LSTM Neural Network and SVM for USD Exchange Rate Prediction: A Study on Different Training Data Scenarios Knowledge Discovery from Confusion Matrix of Pruned CART in Imbalanced Microarray Data Ovarian Cancer Classification Comparison of Discriminant Analysis and Support Vector Machine on Mixed Categorical and Continuous Independent Variables for COVID-19 Patients Data The Comparison of K-Nearest Neighbors and Random Forest Algorithm to Recognize Indonesian Sign Language in a Real-Time
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1