{"title":"Implementasi Long Short Term Memory (LSTM) dan Bidirectional Long Short Term Memory (BiLSTM) Dalam Prediksi Harga Saham Syariah","authors":"Dian Islamiaty Puteri","doi":"10.34312/euler.v11i1.19791","DOIUrl":null,"url":null,"abstract":"The development of the stock market in Indonesia is currently growing quite rapidly. This can be seen based on the number of investors who have increased every year. In 2011, sharia stocks were launched for the first time in Indonesia, and it can be seen that the price of the stock is not always stable or can experience increases or decreases. For investors, a strategy is needed to predict stock prices in order to make the right decisions in investing. In this study, stock prediction was carried out using the Long Short-Term Memory (LSTM) and Bidirectional Long Short-Term Memory (BiLSTM) methods. The data used in this study is historical closing price data for three Sharia stocks, namely PT Aneka Tambang Tbk, PT Unilever Indonesia Tbk, and PT Indofood Sukses Makmur Tbk. In building the best predictive model in this study based on tuning parameters such as epoch, batch, neurons, as well as an optimizer and dropout regulation techniques to prevent overfitting of the model. The test results show that from the three stock data used, the smallest MAPE value is obtained in the BiLSTM model. The MAPE values obtained for each stock data in this study are sequentially 2,59%, 1,77%, and 1,05%. Based on the MAPE value criteria, the prediction model is included in the very accurate criteria.","PeriodicalId":30843,"journal":{"name":"Jurnal Teknosains Jurnal Ilmiah Sains dan Teknologi","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-05-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Teknosains Jurnal Ilmiah Sains dan Teknologi","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.34312/euler.v11i1.19791","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
摘要
目前印尼的股票市场发展相当迅速。从每年增加的投资者数量可以看出这一点。2011年,印尼首次推出了伊斯兰教股票,可以看出,股票的价格并不总是稳定的,也可能会出现上涨或下跌。对于投资者来说,为了做出正确的投资决策,需要一种预测股价的策略。本研究采用长短期记忆(LSTM)和双向长短期记忆(BiLSTM)方法进行股票预测。本研究使用的数据是三个伊斯兰教股票的历史收盘价数据,即PT Aneka Tambang Tbk, PT Unilever Indonesia Tbk和PT Indofood Sukses Makmur Tbk。在本研究中,基于调整参数(如epoch, batch, neuron)以及优化器和dropout调节技术来构建最佳预测模型,以防止模型的过拟合。测试结果表明,从所使用的三个股票数据中,BiLSTM模型获得的MAPE值最小。本研究各种群数据的MAPE值依次为2、59%、1、77%、1.05%。基于MAPE值准则的预测模型包含在非常精确的准则中。
Implementasi Long Short Term Memory (LSTM) dan Bidirectional Long Short Term Memory (BiLSTM) Dalam Prediksi Harga Saham Syariah
The development of the stock market in Indonesia is currently growing quite rapidly. This can be seen based on the number of investors who have increased every year. In 2011, sharia stocks were launched for the first time in Indonesia, and it can be seen that the price of the stock is not always stable or can experience increases or decreases. For investors, a strategy is needed to predict stock prices in order to make the right decisions in investing. In this study, stock prediction was carried out using the Long Short-Term Memory (LSTM) and Bidirectional Long Short-Term Memory (BiLSTM) methods. The data used in this study is historical closing price data for three Sharia stocks, namely PT Aneka Tambang Tbk, PT Unilever Indonesia Tbk, and PT Indofood Sukses Makmur Tbk. In building the best predictive model in this study based on tuning parameters such as epoch, batch, neurons, as well as an optimizer and dropout regulation techniques to prevent overfitting of the model. The test results show that from the three stock data used, the smallest MAPE value is obtained in the BiLSTM model. The MAPE values obtained for each stock data in this study are sequentially 2,59%, 1,77%, and 1,05%. Based on the MAPE value criteria, the prediction model is included in the very accurate criteria.