Penggunaan Algoritma LSTM Dengan Mekanisme Attention Untuk Prediksi Harga Cryptocurrency

  • Alwi Rihad Universitas Esa Unggul Jakarta
  • Nenden Siti Fatonah Universitas Esa Unggul Jakarta
  • Agung Mulyo Widodo Universitas Esa Unggul Jakarta
  • Arief Ichwani Universitas Esa Unggul Jakarta
Keywords: LSTM, Mekanisme Attention, Prediksi Harga, Ethereum, Cryptocurrency

Abstract

Cryptocurrency, particularly Ethereum, is a digital asset with high price volatility, making price prediction a challenging task for investors. This study aims to develop an Ethereum price prediction model using the Long Short-Term Memory (LSTM) algorithm with an attention mechanism. The dataset includes daily closing prices of Ethereum from November 2017 to October 2024, obtained from Yahoo Finance. The research methodology involves data preprocessing, LSTM model development, and the integration of an attention mechanism to enhance prediction accuracy. Model evaluation was conducted using Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and Mean Absolute Percentage Error (MAPE). The results show that the LSTM model with an attention mechanism achieved a lower MAPE of 2.72% and an RMSE of 102.78, demonstrating better adaptability to significant price fluctuations. Meanwhile, the standard LSTM model exhibited greater stability in consistent market conditions, with a MAPE of 3.28% and an RMSE of 115.00. This study contributes to the advancement of cryptocurrency price prediction technology and serves as a reference for future research. Keywords: LSTM, Attention Mechanism, Price Prediction, Ethereum, Cryptocurrency

Downloads

Download data is not yet available.

Author Biographies

Alwi Rihad, Universitas Esa Unggul Jakarta
Program Studi Teknik Informatika, Fakultas Ilmu Komputer Universitas
Nenden Siti Fatonah, Universitas Esa Unggul Jakarta
Program Studi Teknik Informatika, Fakultas Ilmu Komputer
Agung Mulyo Widodo, Universitas Esa Unggul Jakarta
Program Studi Teknik Informatika, Fakultas Ilmu Komputer
Arief Ichwani, Universitas Esa Unggul Jakarta
Program Studi Teknik Informatika, Fakultas Ilmu Komputer

References

D. M. Gunarto, S. Sa’adah, and D. Q. Utama, “Predicting Cryptocurrency Price Using RNN and LSTM Method,” Jurnal Sisfokom (Sistem Informasi dan Komputer), vol. 12, no. 1, pp. 1–8, 2023, doi: 10.32736/sisfokom.v12i1.1554.

L. Hu et al., “Supervised Machine Learning Techniques: An Overview with Applications to Banking,” International Statistical Review, vol. 89, no. 3, pp. 573–604, 2021, doi: 10.1111/insr.12448.

M. A. Ammer and T. H. H. Aldhyani, “Deep Learning Algorithm to Predict Cryptocurrency Fluctuation Prices: Increasing Investment Awareness,” Electronics (Switzerland), vol. 11, no. 15, pp. 1–22, 2022, doi: 10.3390/electronics11152349.

N. J. Shafana and A. Senthilselvi, “Analysis of recent advancement in unsupervised deep learning,” International journal of health sciences, vol. 6, no. March, pp. 2766–2782, 2022, doi: 10.53730/ijhs.v6ns1.5199.

F. M. Riese, S. Keller, and S. Hinz, “Supervised and semi-supervised self-organizing maps for regression and classification focusing on hyperspectral data,” Remote Sensing, vol. 12, no. 1, 2020, doi: 10.3390/RS12010007.

R. Sari, K. Kusrini, T. Hidayat, and T. Orphanoudakis, “Improved LSTM Method of Predicting Cryptocurrency Price Using Short-Term Data,” IJCCS (Indonesian Journal of Computing and Cybernetics Systems), vol. 17, no. 1, p. 33, 2023, doi: 10.22146/ijccs.80776.

D. I. Puteri, “Implementasi Long Short Term Memory (LSTM) dan Bidirectional Long Short Term Memory (BiLSTM) Dalam Prediksi Harga Saham Syariah,” Euler : Jurnal Ilmiah Matematika, Sains dan Teknologi, vol. 11, no. 1, pp. 35–43, 2023, doi: 10.34312/euler.v11i1.19791.

M. Samin-Al-Wasee, P. S. Kundu, I. Mahzabeen, T. Tamim, and G. R. Alam, “Time-Series Forecasting of Ethereum Price Using Long Short-Term Memory (LSTM) Networks,” 8th International Conference on Engineering and Emerging Technologies, ICEET 2022, no. May, 2022, doi: 10.1109/ICEET56468.2022.10007377.

H. Parikh, N. Panchal, and A. Sharma, “Cryptocurrency Price Prediction Using Machine Learning,” Lecture Notes in Networks and Systems, vol. 428, no. July, pp. 275–285, 2023, doi: 10.1007/978-981-19-2225-1_25.

B. B. Likhitha, C. H. A. Raj, and M. S. U. Islam, “Unveiling Ethereum’s Future: LSTM-Based Price Prediction and a Systematic Blockchain Analysis,” BIO Web of Conferences, vol. 86, 2024, doi: 10.1051/bioconf/20248601117.

J. Qiu, B. Wang, and C. Zhou, “Forecasting stock prices with long-short term memory neural network based on attention mechanism,” PLoS ONE, vol. 15, no. 1, pp. 1–15, 2020, doi: 10.1371/journal.pone.0227222.

T. Ericko, M. Dolok Lauro, and T. Handhayani, “Prediksi Harga Pangan Di Pasar Tradisional Kota Surabaya Dengan Metode Lstm,” Jurnal Ilmu Komputer dan Sistem Informasi, vol. 11, no. 2, 2023, doi: 10.24912/jiksi.v11i2.26012.

Hadrian and G. P. Kusuma, “Stock Price Prediction on Indonesia Stock Market With the Influence of External Factors Using Recurrent Neural Network With Attention Mechanism,” Communications in Mathematical Biology and Neuroscience, vol. 2023, pp. 1–20, 2023, doi: 10.28919/cmbn/8168.

C. Jin and Y. Li, “Cryptocurrency Price Prediction Using Frequency Decomposition and Deep Learning,” Fractal and Fractional, vol. 7, no. 10, pp. 1–29, 2023, doi: 10.3390/fractalfract7100708.

G. Kim, D. H. Shin, J. G. Choi, and S. Lim, “A Deep Learning-Based Cryptocurrency Price Prediction Model That Uses On-Chain Data,” IEEE Access, vol. 10, pp. 56232–56248, 2022, doi: 10.1109/ACCESS.2022.3177888.

Published
2025-06-05
Section
Articles