Mathematics (Mar 2023)

Price Prediction of Bitcoin Based on Adaptive Feature Selection and Model Optimization

  • Yingjie Zhu,
  • Jiageng Ma,
  • Fangqing Gu,
  • Jie Wang,
  • Zhijuan Li,
  • Youyao Zhang,
  • Jiani Xu,
  • Yifan Li,
  • Yiwen Wang,
  • Xiangqun Yang

DOI
https://doi.org/10.3390/math11061335
Journal volume & issue
Vol. 11, no. 6
p. 1335

Abstract

Read online

Bitcoin is one of the most successful cryptocurrencies, and research on price predictions is receiving more attention. To predict Bitcoin price fluctuations better and more effectively, it is necessary to establish a more abundant index system and prediction model with a better prediction effect. In this study, a combined prediction model with twin support vector regression was used as the main model. Twenty-seven factors related to Bitcoin prices were collected. Some of the factors that have the greatest impact on Bitcoin prices were selected by using the XGBoost algorithm and random forest algorithm. The combined prediction model with support vector regression (SVR), least-squares support vector regression (LSSVR), and twin support vector regression (TWSVR) was used to predict the Bitcoin price. Since the model’s hyperparameters have a great impact on prediction accuracy and algorithm performance, we used the whale optimization algorithm (WOA) and particle swarm optimization algorithm (PSO) to optimize the hyperparameters of the model. The experimental results show that the combined model, XGBoost-WOA-TWSVR, has the best prediction effect, and the EVS score of this model is significantly better than that of the traditional statistical model. In addition, our study verifies that twin support vector regression has advantages in both prediction effect and computation speed.

Keywords