Stock Return Prediction Based on CNN Model and Genetic Evolutionary Algorithm For A-share Medical Sector
DOI:
https://doi.org/10.54691/bcpbm.v38i.3829Keywords:
CNN model; stock return forecast; A-share medical sector; genetic algorithm; COVID-19.Abstract
Since the outbreak of the epidemic in December 2019, the real economy has been seriously affected, where the stock market has experienced a short-term crash. In this context, the financial market has become more turbulent and unpredictable. Previously, the traditional prediction method only captures the linear relationship between both the dependent and the independent variable. With the growing advancement of technology and science, the application of deep learning models to learn the nonlinear relationship between high latitude indicators and predictors has become the mainstream trend of stock prediction. Therefore, a convolutional neural network (CNN) model with fusion genetic algorithm is proposed in this paper to predict and analyze the stock return rate of China’s A-share medical sector from January 1,2020 to February 2020. In order to facilitate the operation, this paper chooses the GPU with better performance to process the large-scale calculation in the neural network and builds the experimental environment under the Huawei cloud model arts notebook system. This paper selects the Sequential model belonging to the tensor flow library Keras package. Subsequently, this paper optimizes the parameters in the model by using genetic algorithm. According to the analysis, the mean square error of the optimal model is 0.0017, and the prediction results of the model in the test set are validated with well performances, which is of great significance to investors' decision-making. These results shed light on guiding further exploration of stock trend prediction.
Downloads
References
Gao Yixin,Li Khanru,Guo Yijun. Research on the impact of the new crown epidemic on stock investment. Journal of Hubei College of Economics (Humanities and Social Sciences Edition), 2021, 18(12): 48-51.
Chiu D Y, Chen P J. Dynamically exploring the internal mechanism of stock market by fuzzy-based support vector machines with high dimension input space and genetic algorithm. Export Systems with Applications, 2009, 36(2): 1240-1248.
Cen Yuefeng, Zhang Chenguang, Cen Gang, Zhao Cheng. Stock Price Forecasting Method Based on Proximal Reinforcement Learning. Control and decision, 2021, 36(04): 967-973.
Zuo Chuan, Wang Yu, Li Zhen. Application of Deep Learning in Stock Investment. Journal of Zhengzhou University (Philosophy and Social Sciences), 2022, 55(02): 56-62.
Haykin S. Neural Networks: A Comprehensive Foundation. Neural Networks A Comprehensive Foundation, 1994: 71-80.
Hoseinzade E., Haratizadeh S. CNNpred: CNN-based stock market prediction using a diverse set of variables. Expert Systems with Applications, 2019, 129, 273-285.
Shen J., Shafiq M. O. Short-term stock market price trend prediction using a comprehensive deep learning system. Journal of big Data, 2020, 7(1), 1-33.
Kim Y. Convolutional neural networks for sentence classification. Empirical Methods in Natural Language Processing 2014. 2014:1746-1751.
Jin Jingzhe. Principle and Application of Genetic Algorithms. Science and Wealth., 2019, (7): 249.
Liu Haiyue. Analysis of genetic algorithm and neural network in stock prediction. 2011(05): 1-71.






