Comparative Study of Bitcoin Price Prediction
Ali Mohammadjafari
TL;DR
The paper evaluates Bitcoin price forecasting using two neural network architectures, LSTM and GRU, with 5-fold cross-validation and L2 regularization. It utilizes Bitcoin historical data from Yahoo Finance (2015–present) with multiple price-related features to train and compare the models. The results show that GRU achieves higher predictive accuracy, with a mean squared error of 4.67 versus 6.25 for LSTM, and is about 30% faster, highlighting GRU's suitability for financial time series. The work underscores the value of regularization in reducing overfitting and provides guidance for model selection in volatile markets.
Abstract
Prediction of stock prices has been a crucial and challenging task, especially in the case of highly volatile digital currencies such as Bitcoin. This research examineS the potential of using neural network models, namely LSTMs and GRUs, to forecast Bitcoin's price movements. We employ five-fold cross-validation to enhance generalization and utilize L2 regularization to reduce overfitting and noise. Our study demonstrates that the GRUs models offer better accuracy than LSTMs model for predicting Bitcoin's price. Specifically, the GRU model has an MSE of 4.67, while the LSTM model has an MSE of 6.25 when compared to the actual prices in the test set data. This finding indicates that GRU models are better equipped to process sequential data with long-term dependencies, a characteristic of financial time series data such as Bitcoin prices. In summary, our results provide valuable insights into the potential of neural network models for accurate Bitcoin price prediction and emphasize the importance of employing appropriate regularization techniques to enhance model performance.
