The reason we need to take three years of data is to take into account seasonal factors, and many categories will be affected by the seasons; The AI agent uses correlation operators to extract the key factors that affect sales to avoid overfitting that occurs when introducing too many factors; Randomly allocate time periods in the past three years,Using the week as the training samples and the week as the training samples; Use the data set of training samples, use the extracted main principal factors, train through the linear regression model, and calculate the specific weight of each principal factor; Use the test samples to test the model and continuously fine-tune the factors and model parameters.
Set a threshold for the accuracy of sales iran number whatsapp forecasting, such as when using the model to predict the sales of a certain store in a certain week, if the error rate does not exceed, the test point is considered accurate. Then the accuracy of all test points is calculated. When the accuracy in the test set exceeds the accuracy, the model training is considered complete. Use the trained model to predict the sales volume of each store in the next week once a week. Use the agent to build three lines of defense in the supply chain.
Estimation Although the fitting method is very effective, it is more suitable for relatively stable sales and relatively dispersed customer groups, it is not suitable to use fitting. For example, for a product in a certain channel, a small change in the demand for this customer for its sales can have a large impact on the overall sales of the product. Therefore, in this case, a forecasting method can be used to estimate the proportion of the increase or decrease in customer demand for the product in the future period. "Give to God what is God's, and to Caesar what is Caesar's", here it means "return to fitting to fitting, and estimate to estimate.