The invention discloses a supply chain demand prediction method based on pattern clustering, and the method comprises the following steps: S1, collecting multi-
source data, and constructing a multi-source
original data set; s2, preprocessing the
original data set to generate a standard
data set; s3, based on improved HDBSCAN clustering analysis, identifying a potential demand trend and dividing an output demand mode group; s4, extracting a key
feature vector of each group, inputting the key
feature vector into a DeepAR model for autoregressive training and
cross validation, and outputting a prediction model; s5, loading the trained model, and combining real-time sales and market data to generate a current key
feature vector; and S6, inputting the current feature vector into a DeepAR model, predicting a future demand, and outputting the future demand to a supply chain
scheduling system. According to the invention, automatic identification and high-precision prediction of the demand trend under the driving of multi-
source data are realized, and the supply chain response, efficiency and inventory decision intelligent level are improved.