Comparison of Activation Functions in Recurrent Neural Network for Litecoin Cryptocurrency Price Prediction

https://doi.org/10.46336/ijmsc.v3i3.233

Authors

  • Moch Panji Agung Saputra Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Sumedang, Indonesia
  • Astrid Sulistya Azahra Doctoral of Mathematics Study Program, Faculty of Mathematics and Natural Sciences, Universitas Padjadjaran, Sumedang 45363, Indonesia
  • Dede Irman Pirdaus Informatics Study Program, Faculty of Technology and Informatics, Universitas Informatika dan Bisnis Indonesia, Bandung, Indonesia

Keywords:

Cryptocurrency price prediction, recurrent neural network, activation functions, Litecoin, time series forecasting

Abstract

The rapid advancement of information technology and digitalization has significantly transformed the financial sector, particularly with the emergence of cryptocurrencies characterized by high price volatility and complex movement patterns. Accurate price prediction of these crypto assets is essential to support investment decision-making and risk management. This study aims to compare the performance of six activation functions ReLU, Tanh, Sigmoid, Softplus, Swish, and Mish in a Simple Recurrent Neural Network (RNN) model for predicting the price of Litecoin, a widely traded cryptocurrency. Using historical daily closing price data from May 2020 to April 2025, the data were preprocessed through Min-Max normalization and sliding window sequence formation to fit the RNN input requirements. Each activation function was applied in the RNN model under consistent training conditions, and model performance was evaluated using Root Mean Squared Error (RMSE), Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), and coefficient of determination (R²). Results indicate that the Swish activation function outperforms others by achieving the lowest RMSE of 4.58 and the highest R² score of 0.9578, demonstrating superior prediction accuracy and stable convergence. Tanh also showed competitive results, while Sigmoid and Softplus performed less effectively. In conclusion, Swish is recommended as the most suitable activation function for RNN-based cryptocurrency price forecasting due to its balance of accuracy and computational efficiency.

Downloads

Download data is not yet available.

Published

2025-07-29

How to Cite

Saputra, M. P. A., Azahra, A. S., & Pirdaus, D. I. (2025). Comparison of Activation Functions in Recurrent Neural Network for Litecoin Cryptocurrency Price Prediction. International Journal of Mathematics, Statistics, and Computing, 3(3), 113–119. https://doi.org/10.46336/ijmsc.v3i3.233