Algorithm Optimizer in GA-LSTM for Stock Price Forecasting

IF 0.6 Q3 MATHEMATICS Contemporary Mathematics Pub Date : 2024-01-05 DOI:10.37256/cm.5120243367
Yohanes Leonardus Sukestiyarno, D. Wiyanti, Lathifatul Azizah, Wahyu Widada
{"title":"Algorithm Optimizer in GA-LSTM for Stock Price Forecasting","authors":"Yohanes Leonardus Sukestiyarno, D. Wiyanti, Lathifatul Azizah, Wahyu Widada","doi":"10.37256/cm.5120243367","DOIUrl":null,"url":null,"abstract":"Fluctuating stock prices make it difficult for investors to see investment opportunities. One tool that can help investors overcome this is represented by forecasting techniques. Long Short-Term Memory (LSTM) is one of deep learning methods used in forecasting time series. The training and success of deep learning is strongly influenced by the selection of hyperparameters. This research uses a hybrid method between the Genetic Algorithm (GA) and LSTM to find a suitable model for predicting stock prices. GA is used in optimizing the architecture such as the number of epochs, window size, and the number of LSTM units in the hidden layer. Tuning optimizer is also carried out using several optimizers to achieve the best value. From method that has been applied, it shows that the method has a good level of accuracy with MAPE values below 10% in every optimizer used. The error rate generated is quite low, in case-1 with a minimum RMSE value of 93.03 and 94.40, & in case-2 with an RMSE value of 104.99 and 150.06 during training and testing. A fairly stable and small value is generated by setting it using the Adam Optimizer.","PeriodicalId":29767,"journal":{"name":"Contemporary Mathematics","volume":"55 17","pages":""},"PeriodicalIF":0.6000,"publicationDate":"2024-01-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Contemporary Mathematics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.37256/cm.5120243367","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MATHEMATICS","Score":null,"Total":0}
引用次数: 0

Abstract

Fluctuating stock prices make it difficult for investors to see investment opportunities. One tool that can help investors overcome this is represented by forecasting techniques. Long Short-Term Memory (LSTM) is one of deep learning methods used in forecasting time series. The training and success of deep learning is strongly influenced by the selection of hyperparameters. This research uses a hybrid method between the Genetic Algorithm (GA) and LSTM to find a suitable model for predicting stock prices. GA is used in optimizing the architecture such as the number of epochs, window size, and the number of LSTM units in the hidden layer. Tuning optimizer is also carried out using several optimizers to achieve the best value. From method that has been applied, it shows that the method has a good level of accuracy with MAPE values below 10% in every optimizer used. The error rate generated is quite low, in case-1 with a minimum RMSE value of 93.03 and 94.40, & in case-2 with an RMSE value of 104.99 and 150.06 during training and testing. A fairly stable and small value is generated by setting it using the Adam Optimizer.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于股价预测的 GA-LSTM 算法优化器
股票价格的波动使投资者难以看到投资机会。预测技术是帮助投资者克服这一困难的工具之一。长短期记忆(LSTM)是用于预测时间序列的深度学习方法之一。超参数的选择对深度学习的训练和成功影响很大。本研究使用遗传算法(GA)和 LSTM 的混合方法来寻找预测股票价格的合适模型。遗传算法用于优化架构,如历时次数、窗口大小和隐藏层中 LSTM 单元的数量。此外,还使用多个优化器对优化器进行调整,以达到最佳值。从已应用的方法来看,该方法具有良好的准确性,所使用的每个优化器的 MAPE 值均低于 10%。在案例 1 中,产生的误差率相当低,最小 RMSE 值分别为 93.03 和 94.40;在案例 2 中,训练和测试期间的 RMSE 值分别为 104.99 和 150.06。通过亚当优化器的设置,产生了一个相当稳定且较小的值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
0.60
自引率
33.30%
发文量
0
期刊最新文献
Algorithm Optimizer in GA-LSTM for Stock Price Forecasting Controllability of Hilfer Fractional Semilinear Integro-Differential Equation of Order α ∊ (0, 1), β ∊ [0, 1] A Study on Approximate Controllability of Ψ-Caputo Fractional Differential Equations with Impulsive Effects A Study of Some Problems on the Dirichlet Characters (mod q) Topological Indices and Properties of the Prime Ideal Graph of a Commutative Ring and Its Line Graph
×
引用
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