The daily prices of hog and the daily prices of soybean meal in pig feed in Chaoyang city from Janu-ary 2020 to June 2023 were selected as the research data,and the BP neural network model and the wavelet neural network model were constructed respectively to predict the price of hog in Chaoyang city.The price data of the first 160 weeks were used as the training set data of BP neural network model and wavelet neural network model,the price data of 161 to 180 weeks were used as the forecast data.The changes of forecast value and actual value were shown by graphs,and the mean absolute error and root mean square error of the two neural grid models were calculated.By analyzing the error comparison,it is concluded that the wavelet neural network model is better than BP neural network model in the field of pig price fluctuation in Chaoyang city,which is recommended to popularize the application.
关键词
BP神经网络模型/小波神经网络模型/生猪价格预测
Key words
BP neural network model/wavelet neural network model/hog price forecast