arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.13874cs.LGcs.DC
收藏

基于区块链的加密货币价格变化的时间序列分析

Time Series Analysis of Blockchain-Based Cryptocurrency Price Changes

Miami Dade College(迈阿密戴德学院);University of Virginia(弗吉尼亚大学);Florida A&M University(佛罗里达农工大学)

Jacques Fleischer, Gregor von Laszewski, Carlos Theran, Yohn Jairo Parra Bautista

摘要:

在本文中,我们将神经网络和人工智能(AI)应用于高风险加密货币的历史记录,以训练预测模型来猜测其价格。这篇论文的代码包含了一个笔记本,其中一个笔记本在历史数据的CSV文件输入程序后输出任何加密货币价格的时间序列图。另一个Mysteryter笔记本训练LSTM,或长短期记忆模型,以预测加密货币的收盘价。LSTM被输入收盘价,这是货币在一天结束时的价格,所以它可以从这些值中学习。Notebook创建两个集合:一个训练集和一个测试集,以评估结果的准确性。然后使用手动最小-最大缩放对数据进行归一化,以便模型不会出现任何偏差;这也提高了模型的性能。然后,模型使用三层进行训练-LSTM,dropout和密集层-通过50个训练时期最小化损失;从这个训练中,产生一个递归神经网络(RNN)并拟合到训练集。此外,还生成了每个时期的损失图,损失随着时间的推移而最小化。最后,笔记本绘制了一个红色的实际货币价格和蓝色的预测价格的线图。然后,对更多的加密货币重复该过程,以比较预测模型。LSTM的参数,例如epochs的数量和批量大小,被调整以尝试最小化均方根误差。

英文摘要:

In this paper we apply neural networks and Artificial Intelligence (AI) to historical records of high-risk cryptocurrency coins to train a prediction model that guesses their price. This paper's code contains Jupyter notebooks, one of which outputs a timeseries graph of any cryptocurrency price once a CSV file of the historical data is inputted into the program. Another Jupyter notebook trains an LSTM, or a long short-term memory model, to predict a cryptocurrency's closing price. The LSTM is fed the close price, which is the price that the currency has at the end of the day, so it can learn from those values. The notebook creates two sets: a training set and a test set to assess the accuracy of the results. The data is then normalized using manual min-max scaling so that the model does not experience any bias; this also enhances the performance of the model. Then, the model is trained using three layers -- an LSTM, dropout, and dense layer-minimizing the loss through 50 epochs of training; from this training, a recurrent neural network (RNN) is produced and fitted to the training set. Additionally, a graph of the loss over each epoch is produced, with the loss minimizing over time. Finally, the notebook plots a line graph of the actual currency price in red and the predicted price in blue. The process is then repeated for several more cryptocurrencies to compare prediction models. The parameters for the LSTM, such as number of epochs and batch size, are tweaked to try and minimize the root mean square error.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑