A stock price prediction method based on an APSO-BP neural network
A technology of APSO-BP and BP neural network, which is applied in the field of stock price prediction based on APSO-BP neural network, can solve the problems of prediction model performance not up to expectations, slow convergence speed, easy to fall into local extremum, etc. The effects of falling into local extremum, improving prediction accuracy, and improving global search ability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] The present invention will be further described below in conjunction with drawings and embodiments.
[0041] figure 1 Shown is the prediction system model of the present invention, and the data used in the prediction model are respectively the opening price, the highest price, the lowest price, the closing price, the trading volume, and the trend of the next day of a certain stock. In this paper, the trend of the next day is the classification label, and the classification label is assigned according to the closing price, C t+1 represents the closing price on day t+1, then the training label y on day t t It can be calculated by the following formula:
[0042]
[0043] If the closing price of the next day is greater than today's closing price, it is judged to be up, represented by 1, otherwise it is judged to be down, represented by -1.
[0044] After inputting the stock data, use the APSO algorithm to optimize each weight and threshold in the BP neural network. T...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 



