• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2022, Vol. 44 ›› Issue (11): 2080-2090.

• Artificial Intelligence and Data Mining • Previous Articles    

Stock price prediction based on an improved artificial fish swarm algorithm and RBF neural network

XIE Jun-biao1,JIANG Feng1,DU Jun-wei1,ZHAO Jun2   

  1. (1.College of Information Science and Technology,Qingdao University of Science & Technology,Qingdao 266061;
    2.College of Chemical Engineering,Qingdao University of Science & Technology,Qingdao 266042,China)
  • Received:2020-08-16 Revised:2021-01-26 Accepted:2022-11-25 Online:2022-11-25 Published:2022-11-25

Abstract: Stock prices are affected by many factors, which poses a great challenge to stock index prediction. In recent years, machine learning has been widely used in the research of stock price prediction. However, the existing methods have some disadvantages such as large relative error and high time complexity. An improved artificial fish swarm algorithm based on gravity search (AFSA_GS) is proposed. AFSA_GS applies the gravity search strategy of calculating mass and acceleration to the visual and step size adjustment of artificial fish respectively, so as to improve the adaptive ability of artificial fish swarm algorithm in the optimization process. AFSA_GS is further used to optimize the relevant parameters of RBF neural network, and the optimized network is used to predict the stock price. Experiments were conducted on the stock data of a number of listed companies. The results show that, compared with the traditional optimization algorithm, AFSA_GS algorithm can be used to optimize RBF neural network, which can obtain better stock prediction performance.


Key words: stock price prediction, artificial fish swarm algorithm, gravitational search algorithm, RBF neural network, visual, step