Abstract
In this paper, Back Propagation Neural Network (BPNN) and Firefly Algorithm-Back Propagation Neural Network (FA-BPNN) are studied for the purpose of stock price prediction. The result shows that, compared with BPNN, the average prediction time of FA-BPNN increases by 3.2239s, the average relative prediction accuracy increases by 1.2739 %, and the corresponding variance decreases by 0.0003. It shows that the prediction accuracy obtained using FA-BPNN is higher. This is because the weighted value of FA-BPNN can effectively find the extreme value of the loss function, thus avoiding local optimum. But the prediction time is slightly longer, because the algorithm needs to sacrifice the tracking time in order to improve the prediction accuracy. Meanwhile, the variance corresponding to the relative prediction accuracy of FA-BPNN is the smallest. This demonstrates that the prediction effect of FA-BPNN is superior, and the prediction results are more stable and robust after each training. The above outcomes demonstrate that the FA-BPNN model has excellent performance in short-term stock forecasting. It has some feasibility and can be of use to stock market investors.
Publisher
Darcy & Roy Press Co. Ltd.
Reference12 articles.
1. Xiao C, Xia W, Jiang J. Stock price forecast based on combined model of ARI-MA-LS-SVM[J]. Neural Computing and Applications, 2020, 32(10): 5379-5388.
2. Zhang Y C, Sun Y J. Empirical study on Shanghai Stock Exchange Index Analysis and Prediction based on ARIMA Mode[J]. Economic Research Guide, 2019(11): 131-135.
3. Liu S, Zhang S. Empirical study on Shanghai Stock Exchange Index Analysis and Prediction based on ARIMA Model[J]. Economic Research Guide, 2021(25): 76-78.
4. Sun A, Zhao T, Chen J, et al. Comparative Study: Common ANN and LS‐SVM Exchange Rate Performance Prediction[J]. Chinese Journal of Electronics, 2018, 27(3): 561-564.
5. Xiong Z, Chen W G. Application of ARIMA-GARCH-M model in short-term stock forecasting[J]. Journal of Shanxi University of Technology(Natural Science Edition), 2022, 38(04): 69-74.