Prediction of hog price in Chaoyang city based on neural network model
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 neural network modelwavelet neural network modelhog price forecast