B样条与LSTM结合的时间序列建模方法研究——以股票收盘价数据为例
Study on Time Series Modeling Method of B-Spline Combined with LSTM—Take the Closing Share Price as an Example
摘要: 时间序列是指将某种统计指标的数值按照时间顺序排列所形成的序列,对时间序列进行分析预测有助于我们提前判断、减少潜在风险,在生产和生活中都有着重大的意义。常见的时间序列数据包括股票数据、商品日销量以及每日的气候等等。其中股票数据是一个高度复杂的非线性系统,对股票长期趋势的预测一直是一个令人感兴趣的话题。本文以股票收盘价数据为例,提出一种新的思路,对时间序列数据进行建模并预测。首先采用B样条回归对股票价格与时间变量之间的非线性关系进行建模。由于B样条曲线只能在一个提前给定的区间内进行拟合,对区间外的预测问题无能为力,因此,为解决这个问题,本文将B样条回归与长短期记忆(Long Short-Term Memory)神经网络模型相结合,构建LSTM-Bspline模型,通过训练神经网络来获取B样条曲线的参数,从而获得预测值。最后通过对某公司股票每日收盘价数据进行分析预测,并将预测结果与经典LSTM神经网络预测结果相比较,证明了LSTM-Spline模型的可行性。
Abstract: Time series refers to the series formed by arranging the values of certain statistical indicators in chronological order. Analysis and prediction of time series can help us to judge in advance and reduce potential risks, which is of great significance in both production and life. Common time series data include stock data, daily sales of goods, daily weather, and so on. Among them, stock data is a highly complex nonlinear system, and the prediction of stock long-term trend is always an interesting topic. Taking stock closing price data as an example, this paper proposes a new way of thinking to model and predict time series data. First the B-spline regression is adopted to model the nonlinear relationship between stock price and time variable, the B-spline curve can only be a in advance within a given interval fitting, outside the range of powerless forecasting problems, therefore, to solve this problem, this paper combined the B spline regression with Long Short-Term Memory neural network model, build LSTM-Bspline model, by training neural network to obtain the parameters of the B-spline curve, the predicted value is achieved. Finally, by analyzing and forecasting the daily closing price data of a company's stock, and comparing the forecasting results with those of classical LSTM neural network, the feasibility of LSTM-Spline model is proved.
文章引用:李杨, 王艺舒. B样条与LSTM结合的时间序列建模方法研究——以股票收盘价数据为例[J]. 应用数学进展, 2020, 9(11): 1893-1900. https://doi.org/10.12677/AAM.2020.911218

参考文献

[1] 张美英, 何杰. 时间序列预测模型研究综述[J]. 数学的实践与认识, 2011, 41(18): 189-195.
[2] 王洋. 基于时间序列分析的IP语音收入预测[D]: [硕士学位论文]. 长春: 吉林大学, 2004.
[3] Box, G.E.P., Jenkins, G.M., Reinsel, G.C., et al. (2015) Time Series Analysis: Forecasting and Control. John Wiley & Sons, Hoboken.
[4] 刘静, 关伟. 交通流预测方法综述[J]. 公路交通科技, 2004, 21(3): 82-85.
[5] Davis, G.A. and Nihan, N.L. (1991) Nonparametric Regression and Short-Term Freeway Traffic Forecasting. Journal of Transportation Engineering, 117, 178-188. [Google Scholar] [CrossRef
[6] Lapedes, A. and Farber, R. (1987) Nonlinear Signal Processing Using Neural Networks: Prediction and System Modelling. IEEE International Conference on Neural Networks, San Diego, CA, 21 June 1987.
[7] Werbos, P.J. (1988) Generalization of Backpropagation with Application to a Recurrent Gas Market Model. Neural networks, 1, 339-356. [Google Scholar] [CrossRef
[8] Varfis, A. and Versino, C. (1990) Univariate Economic Time Series Forecasting by Connectionist Methods. Proceedings of INNC, 90, 342-345.
[9] Weigend, A.S., Huberman, B.A. and Rumelhart, D.E. (1990) Predicting the Future: A Connectionist Approach. International Journal of Neural Systems, 1, 193-209. [Google Scholar] [CrossRef
[10] Matsuba, I. (1991) Application of Neural Sequential Associator to Long-Term Stock Price Prediction. Proceedings of the 1991 IEEE International Joint Conference on Neural Networks, Singapore, 18-21 November 1991, 1196-1201. [Google Scholar] [CrossRef
[11] 张斌, 魏维, 高联欣, 等. 基于时空域深度神经网络的野火视频烟雾检测[J]. 计算机应用与软件, 2019, 36(9): 236-242.
[12] 冯天艺, 杨震. 采用多任务学习和循环神经网络的语音情感识别算法[J]. 信号处理, 2019, 35(7): 1133-1140.
[13] 卢艳. 基于神经网络与注意力机制结合的语音情感识别研究[D]: [硕士学位论文]. 北京: 北京邮电大学, 2019.
[14] 唐贤伦, 林文星, 杜一铭, 等. 基于串并行卷积门阀循环神经网络的短文本特征提取与分类[J]. 工程科学与技术, 2019, 51(4): 125-132.
[15] 鞠春雷, 聂方超, 刘文岗, 郭金山, 张江石. 基于长短期记忆网络的矿工不安全行为研究[J]. 煤矿安全, 2020, 51(9): 260-264.
[16] Graves, A. (2012) Supervised Sequence Labelling. In: Supervised Sequence Labelling with Recurrent Neural Networks, Springer, Berlin, Heidelberg, 5-13. [Google Scholar] [CrossRef
[17] De Boor, C. (1978) A Practical Guide to Splines. In: Applied Mathematical Sciences, Vol. 27, Springer-Verlag, New York, 157.