The invention belongs to the technical field of
big data, and particularly relates to a poultry egg
price prediction method and
system, and the method comprises the steps: firstly collecting full-dimensional data based on multiple channels, including a full-cycle industrial chain, a priority sample
library, a regional consumption behavior, a store geographic attribute, a market, sales data and a real-
time data stream; preprocessing the collected data to generate preprocessed full-dimensional data; a Transform-based poultry egg
price prediction model is constructed, wherein the model comprises an
encoder, a decoder and eight special attention heads for price short-term fluctuation, middle-term period and long-term trend; inputting the preprocessed data into an
encoder according to
time sequence and static characteristics, taking a weighted average absolute error as a
loss function, training a model according to a preset strategy, and outputting a final model; and finally, outputting a prediction result according to the final model, selecting a future preset time period price as a basic pricing, and carrying out dynamic pricing in combination with inventory feedback and region and category adjustment. According to the invention, the problem of low accuracy of poultry egg
price prediction in the prior art can be solved.