Integrating piecewise linear representation and Gaussian process classification for stock turning points prediction
LI Feng1, GAO Feng1, KOU Peng2
1. System Engineering Institute, Xi'an Jiaotong University, Xi'an Shaanxi 710049, China;
2. College of Electrical Engineering, Xi'an Jiaotong University, Xi'an Shaanxi 710049, China
Focusing on the prediction issue of the price turning point in stock trading process, a prediction algorithm of stock price turning point, named PLR-GPC, was proposed based on Piecewise Linear Representation (PLR) and Gaussian Process Classification (GPC). The algorithm extracted the turning points of the historical stock price series by PLR, and classified the points with different labels. A prediction model of the stock price turning point was built based on GPC, and it was trained with the turning points extracted by PLR. Eventually, the model could predict whether a new price would be a price turning point, and could explain the result with probability. An experiment on the real stock data was carried out among PLR-GPC, PLR-BPN (PLR-Back Propagation Network), and PLR-WSVM (PLR-Weighted Support Vector Machine). It showed that the PLR-GPC had higher forecast accuracy than the other two algorithms, and its rate of return was higher than PLR-BPN, almost equal to PLR-WSVM. The experimental result proves that the PLR-GPC is effective on stock turning point prediction and it can be applied in the actual stock investment trading.
[1] LUO L, CHEN X. Integrating piecewise linear representation and weighted support vector machine for stock trading signal prediction [J]. Applied Soft Computing, 2013, 13(2): 806-816. [2] CHANG P-C, FAN C-Y, LIU C-H. Integrating a piecewise linear representation method and a neural network model for stock trading points prediction [J]. IEEE Transactions on Systems, Man, and Cybernetics, Part C: Applications and Reviews, 2009, 39(1): 80-92. [3] CHANG P-C, LIAO T W, LIN J-J, et al. A dynamic threshold decision system for stock trading signal detection [J]. Applied Soft Computing, 2011, 11(5): 3998-4010. [4] ABU-MOSTAFA Y S, ATIYA A F. Introduction to financial forecasting [J]. Applied Intelligence, 1996, 6(3): 205-213. [5] KEOGH E, CHU S, HART D, et al. An online algorithm for segmenting time series [C]//ICDM 2001: Proceedings of the 2001 International Conference on Data Mining. Piscataway: IEEE, 2001: 289-296. [6] KEOGH E, CHU S, HART D, et al. Segmenting time series: a survey and novel approach [J]. Data Mining in Time Series Databases, 2004, 57: 1-22. [7] WU H, SALZBERG B, ZHANG D. Online event-driven subsequence matching over financial data streams [C]//Proceedings of the 2004 ACM SIGMOD International Conference on Management of Data. New York: ACM, 2004: 23-34. [8] AGRAWAL R, FALOUTSOS C, SWAMI A. Efficient similarity search in sequence databases [C]//FODO '93: Proceedings of the 4th International Conference on Foundations of Data Organization and Algorithms, LNCS 730. Berlin: Springer, 1993: 69-84. [9] CHAN K-P, FU W-C. Efficient time series matching by wavelets [C]//ICDE 1999: Proceedings of the 15th International Conference on Data Engineering. Washington, DC: IEEE Computer Society, 1999: 126-133. [10] ZHANG D, ZHOU L. Discovering golden nuggets: data mining in financial application [J]. IEEE Transactions on Systems, Man, and Cybernetics, Part C: Applications and Reviews, 2004, 34(4): 513-522. [11] CAO L J, TAY F E H. Support vector machine with adaptive parameters in financial time series forecasting [J]. IEEE Transactions on Neural Networks, 2003, 14(6): 1506-1518. [12] ZHANG Y, LU R, LUO Y. Electrooculogram assisted electromyography human-machine interface system based on multi-class support vector machine [J]. Journal of Computer Applications, 2014, 34(11): 3357-3360. (张毅,刘睿,罗元.基于支持向量机多分类的眼电辅助肌电的人机交互[J].计算机应用,2014,34(11):3357-3360.) [13] KOU P, LIANG D, GAO F, et al. Probabilistic wind power forecasting with online model selection and warped Gaussian process [J]. Energy Conversion and Management, 2014, 84: 649-663. [14] KOU P, GAO F, GUAN X. Sparse online warped Gaussian process for wind power probabilistic forecasting [J]. Applied Energy, 2013, 108: 410-428. [15] LI Z. Network traffic forecasting model based on Gaussian process regression [J]. Journal of Computer Applications, 2014, 34(5): 1251-1254. (李振刚.基于高斯过程回归的网络流量预测模型[J].计算机应用,2014,34(5):1251-1254.) [16] RASMUSSEN C E, WILLIAMS C K I. Gaussian processes for machine learning [M]. Cambridge: Massachusetts Institute of Technology Press, 2006: 7-102. [17] WILLIAMS C K I, BARBER D. Bayesian classification with Gaussian processes [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 1998. 20(12): 1342-1351. [18] MINKA T. A family of algorithms for approximate Bayesian inference [D]. Cambridge: Massachusetts Institute of Technology, 2001: 13-65.