Tourism supply chain management system based on data mining technology
By using data mining technology in the tourism supply chain management system, combined with long short-term memory network and logistic regression algorithm for multi-model prediction and optimization processing, the problems of low prediction accuracy and poor adaptive ability of the traditional system are solved, and a more efficient system is achieved. sales analysis and decision support.
Patent Information
- Application Number
- CN202410033919.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-01-09
AI Technical Summary
Traditional tourism supply chain management systems rely on simple statistical models and rule-based forecasting methods, which cannot effectively handle non-linear patterns and multi-source data, resulting in low forecast accuracy, low efficiency, difficulty in adapting to market changes, low computational efficiency, and inability to Make full use of high-performance computing resources.
A system based on data mining technology is adopted, including a time series model module and a logistic regression model module. The long short-term memory network and logistic regression algorithm are used for data prediction and analysis, and the prediction results are compared through the result analysis module. If they are inconsistent, optimization is performed. Reduce data skewness and stabilize variance, and optimize parameters using mini-batch gradient descent algorithm.
It improves the accuracy and comprehensiveness of sales forecasting, reduces the need for manual intervention, improves management efficiency, enhances supply chain decision support, and reduces the risk of overfitting and bias errors.
Smart Images

Figure CN118154232B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tourism supply chain management, in particular to a tourism supply chain management system based on data mining technology. Background Art
[0002] Traditional tourism supply chain management systems usually rely on simple statistical models or rule-based forecasting methods, such as moving average or exponential smoothing techniques, which mainly consider time series data of historical sales but are not capable of handling nonlinear patterns. In addition, traditional methods often fail to effectively integrate multi-source data, such as media data and market trends, thus limiting the accuracy of forecasts.
[0003] Operationally, these systems may rely entirely on manual data analysis, result comparison, and decision making. This makes the entire process inefficient and susceptible to human bias. Due to the lack of automatic optimization and iterative update mechanisms, traditional models are difficult to adapt quickly once market conditions change, which may lead to outdated decisions and increased losses. In addition, if the model has prediction errors, traditional systems often do not have built-in mechanisms to diagnose and correct the problem, but require professionals to make manual adjustments, which not only consumes time and resources, but may also miss market opportunities due to slow response.
[0004] In terms of algorithm implementation, traditional methods are usually unable to fully utilize modern high-performance computing resources, which means that they are unable to cope with large-scale data sets, have slow processing speeds, and poor scalability. Due to low computational efficiency, these methods often need to oversimplify complex problems, sacrificing the model's fit and prediction accuracy.
[0005] In general, traditional methods are gradually becoming unsuitable for the current rapidly changing and data-driven business environment due to their lack of complex data processing capabilities, low prediction accuracy, low decision-making efficiency, and difficulty in adapting to market changes. Summary of the invention
[0006] The purpose of the present invention is to provide a tourism supply chain management system based on data mining technology to solve the problems raised in the above background technology.
[0007] To achieve the above object, the present invention provides the following technical solution: a tourism supply chain management system based on data mining technology, which includes a time series model module, a logistic regression model module and a result analysis module, wherein:
[0008] The time series model module collects historical sales data, and uses the long short-term memory network algorithm to build a model based on the historical sales data, and uses the built model to predict the sales volume for the next day;
[0009] The logistic regression model module collects media data, and uses a logistic regression algorithm to build a model based on the media data, and uses the built model to predict whether sales have increased;
[0010] The result analysis module compares the prediction results of the time series model module and the logistic regression model module, and obtains the difference by subtracting the sales result of the current day from the sales result of the future day in the time series model module. When the difference is greater than 0 and the result of whether the sales volume has increased in the logistic regression model module is yes, they are relatively consistent, and the prediction result in the time series model module is determined to be the final result; when the difference is less than 0 and the result of whether the sales volume has increased in the logistic regression model module is no, they are relatively consistent, and the prediction result in the time series model module is determined to be the final result;
[0011] Otherwise, the time series model module is optimized by logarithmically transforming the collected data to reduce the skewness and stable variance of the data; the logistic regression model module is optimized by using a small batch gradient descent algorithm to optimize the parameters and improve the predictive performance of the model; after the optimization, another comparison is performed and multiple iterations are performed until the final result is determined.
[0012] As a further improvement of the present technical solution, the time series model module includes a sales data acquisition unit and a sales data analysis unit. The sales data acquisition unit uses the internal database of the enterprise to collect historical sales data, and uses label encoding to convert non-numeric data therein into numerical types; the sales data analysis unit uses a long short-term memory network model to build and predict a model based on historical sales data, and sends the prediction results to the result analysis module.
[0013] As a further improvement of the present technical solution, the logistic regression model module includes a media data collection unit and a media data analysis unit. The media data collection unit uses crawler technology to collect media data of tourism products; the media data analysis unit uses a logistic regression model to establish and predict a model based on the received media data, and sends the prediction results to the result analysis module.
[0014] As a further improvement of the present technical solution, the result analysis module includes a result determination unit and a feedback optimization unit. The result determination unit receives the prediction results sent by the sales data analysis unit and the media data analysis unit, and compares the prediction results of the two. If they are consistent, the final result is determined. If they are inconsistent, the feedback optimization unit optimizes the data collected by the sales data acquisition unit and optimizes the method in the media data analysis unit.
[0015] As a further improvement of the technical solution, the sales data analysis unit uses the long short-term memory network model to build and predict the model according to the historical sales data, specifically including:
[0016] By stacking long short-term memory network layers, the temporal relationship in the data is learned, and the fully connected layer is used to output the predicted value. The mean square error is used as the loss function, the prediction is generated through forward propagation, and the weights are optimized in multiple iterations through backpropagation. When predicting, the input shape is adjusted to conform to the three-dimensional array required by the long short-term memory network, and the prediction results for future sales are output based on the latest historical data.
[0017] As a further improvement of the technical solution, the media data analysis unit uses a logistic regression model to establish and predict a model based on the received media data, specifically including:
[0018] The media data includes feature vectors and labels corresponding to whether sales have increased, and is used as the training set of the model. The training set is divided into an input feature matrix x and an output label vector y, where x is a matrix with m rows and n columns, representing n features of m samples; y is a column vector, representing the labels of whether sales of m samples have increased;
[0019] Initialize the regression coefficient vector w and the bias term b, define the hypothesis function of the logistic regression model, use the Sigmoid function to linearly combine the input feature x and the parameter w, and add the bias term b, and map it to a probability value between 0 and 1 through the Sigmoid function, where the Sigmoid function maps any real input value to an output value between 0 and 1; define the cost function of the logistic regression model, which is the cross entropy loss function, which measures the difference between the model prediction result and the true label;
[0020] The optimal parameters w and b are obtained by minimizing the cost function, and the gradient descent algorithm is used to update the parameters to reduce the cost function and calculate the predicted value; the partial derivatives of the cost function with respect to the parameters w and b are calculated; the parameters w2=w1-learning_rate*dw, b2=b1-learning_rate*db are updated; where learning_rate is the learning rate, dw and db are the partial derivatives of the cost function with respect to the parameters, w1 is the weight vector of the current iteration step, w2 is the weight vector of the next iteration step, b1 is the bias term of the current iteration step, and b2 is the bias term of the next iteration step.
[0021] As a further improvement of the technical solution, the feedback optimization unit optimizes the data collected by the sales data acquisition unit, specifically including:
[0022] The collected data is logarithmically transformed to reduce the skewness and stabilize the variance of the data. Values less than or equal to 0 are deleted to ensure that all data are positive numbers. The logarithmic transformation is applied to each value in the data set to convert x into logx. The transformed data is used for model training to improve the accuracy and efficiency of the model.
[0023] As a further improvement of the technical solution, the feedback optimization unit optimizes the method in the media data analysis unit, specifically including:
[0024] The optimization process is performed using a mini-batch gradient descent algorithm, the variance of the calculation is reduced by processing mini-batches of data, and matrix operations are used to optimize acceleration, wherein the size of the mini-batch includes but is not limited to iteratively updating the parameters of the model by dividing the training data into mini-batches; in each iteration, the algorithm randomly selects a batch of data, performs forward propagation to calculate the predicted value, calculates the loss function and performs back propagation to obtain the gradient of the loss relative to the model parameters, and updates the parameters using these gradients and a predetermined learning rate, and repeats until convergence is reached, thereby optimizing the parameters and improving the predictive performance of the model, while balancing the efficiency of computing resource usage and the statistical efficiency of the model.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] 1. The tourism supply chain management system based on data mining technology uses the long short-term memory network algorithm to build a model based on historical sales data, and uses the built model to predict the sales volume of the next day. The model is built based on media data using the logistic regression algorithm, and the built model is used to predict whether the sales volume will increase. The prediction results of the two algorithms are compared to determine the final sales prediction result. The system can analyze and predict sales from multiple angles, improve the accuracy and comprehensiveness of the prediction. This multi-model combination can better grasp the multiple characteristics and influencing factors of sales, and provide more powerful decision-making support for supply chain management.
[0027] 2. When the results of two algorithms are compared, if the comparison is inconsistent, the data required by the long short-term memory network algorithm will be logarithmically transformed to reduce the skewness and stable variance of the data, and the gradient descent in the logistic regression algorithm will be converted to a small batch gradient descent algorithm for optimization processing, which is used to optimize parameters and improve the predictive performance of the model, making model learning more robust, reducing the risk of overfitting and bias errors, reducing the need for manual maintenance intervention, and improving management efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the overall module of the present invention;
[0029] Figure 2 It is a schematic diagram of a time series model module unit of the present invention;
[0030] Figure 3 It is a schematic diagram of a module unit of a logistic regression model of the present invention;
[0031] Figure 4 It is a schematic diagram of the result analysis module unit of the present invention.
[0032] In the figure: 100, time series model module; 101, sales data acquisition unit; 102, sales data analysis unit; 200, logistic regression model module; 201, media data collection unit; 202, media data analysis unit; 300, result analysis module; 301, result determination unit; 302, feedback optimization unit. DETAILED DESCRIPTION
[0033] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0034] See also Figure 1-4 The present invention provides a technical solution: a tourism supply chain management system based on data mining technology, including a time series model module 100, a logistic regression model module 200 and a result analysis module 300.
[0035] The sales data acquisition unit 101 in the time series model module 100 uses the internal database of the enterprise to collect daily historical sales data, which includes but is not limited to the number of travel product reservations, visitor visit time, travel expenditure, weather conditions, holidays and regional activities.
[0036] For non-numerical data (such as weather conditions and regional activities), label encoding is used to convert them into numerical types. Label encoding is a method of mapping each different category value to a unique integer. Different weather conditions and regional activities are assigned a unique integer label. For example, if the weather conditions are "sunny", "cloudy", "rainy", etc., they are encoded as 0, 1, 2, etc.
[0037] The sliding window method is used to divide the historical sales dataset into a sequence of inputs and outputs. The sliding window method is a technique for time series forecasting that uses past data points to predict future data points. For example, if 60 days of data are used to predict the sales volume of the next day, the "window size" is 60, which means that the data from day 1 to day 60 will be used in the first training iteration to predict the sales volume of day 61. This set of data forms the first input (training feature) and output (label) of the model; the window is moved forward by one time unit, and the data from day 2 to day 61 is used to predict the sales volume of day 62. This process continues until the entire dataset is covered.
[0038] The sales data acquisition unit 101 sends the processed data to the sales data analysis unit 102. The sales data analysis unit 102 uses the long short-term memory network model to build and predict the model according to the historical sales data, which specifically includes:
[0039] Build the model: Create a sequence model, a linear stack of layers, add multiple LSTM layers to the model, the parameters of each LSTM layer include the number of units, input shape and return sequence, the number of units is the number of neurons in each LSTM layer, which determines the capacity of the layer, add a fully connected layer as the output layer, which is used to convert the output of the LSTM layer into the final prediction; select the loss function, which is a function that measures the difference between the model's predicted value and the true value, and is the goal to be minimized during training. The loss function includes the mean squared error, which calculates the mean of the sum of the squares of the differences between the predicted value and the true value, and penalizes the error; the model will learn how to reduce the error defined by the loss function in multiple iterations, and each iteration includes forward propagation (the model makes predictions) and backward propagation (the model updates the weights based on the error).
[0040] Model prediction: To make predictions, recent historical sales data is used as input. This data is the same type of data used when training the model, including all features such as the number of travel product bookings, visitor visit time, expenditure, weather conditions, holidays and regional activities. The data within the most recent time window is used for prediction. The length of this time window is the same as the time window length used when training the model. As in the model training process, the newly collected data also needs to go through the same preprocessing steps, including encoding non-numeric data. Since the input required by the LSTM layer is a three-dimensional array with a shape of (samples, time_steps, features), where samples represents the number of samples, time_steps represents the time series length (window length), and features represents the number of features, the preprocessed data is reshaped into a format acceptable to the LSTM network. The reshaped data is used to make predictions through the LSTM network model, and the prediction results include the sales volume for the next day.
[0041] The sales data analyzing unit 102 sends the prediction result to the result determining unit 301 in the result analyzing module 300 .
[0042] The media data collection unit 201 in the logistic regression model module 200 uses crawler technology to collect media data of tourism products. The data includes but is not limited to the number of posts, the number of mentions, and whether sales have increased, etc., and uses whether sales have increased as the target variable (dependent variable), and the remaining data features as explanatory variables (independent variables), and sends the collected data to the media data analysis unit 202.
[0043] The media data analysis unit 202 uses a logistic regression model to build and predict a model based on the received media data, specifically including:
[0044] Data preprocessing: Media data includes feature vectors and labels corresponding to whether sales have increased, and they are used as the training set of the model. The training set is divided into an input feature matrix x and an output label vector y, where x is a matrix with m rows and n columns, representing the n features of m samples; y is a column vector, representing the labels of whether the sales of m samples have increased;
[0045] Define the hypothesis function: initialize the regression coefficient vector w and the bias term b, define the hypothesis function h(x) of the logistic regression model, use the Sigmoid function to linearly combine the input feature x and the parameter w, and add the bias term b, and map it to a probability value between 0 and 1 through the Sigmoid function. The Sigmoid function maps any real input value to an output value between 0 and 1. The mathematical form is f(x) = 1 / (1+e^(-x)). The function form of the hypothesis function h(x) is: h(x) = Sigmoid(w^T*x+b), where T refers to the transpose of the vector w, w is a weight vector, x is the input vector, and b is the bias term;
[0046] Define the cost function: Define the cost function J(w,b) of the logistic regression model. The cost function is the cross entropy loss function, which measures the difference between the model prediction result and the true label. The form of the cost function is: J(w,b) = -1 / m*sum(y*log(h(x))+(1-y)*log(1-h(x))), where sum is the summation operation and y is the true label;
[0047] Parameter optimization: The optimal parameters w and b are obtained by minimizing the cost function J(w,b), and the stochastic gradient descent algorithm is used to update the parameters to reduce the cost function. First, the predicted value h(x) is calculated, and then the partial derivatives of the cost function with respect to the parameters w and b are calculated. Finally, the parameters w2=w1-learning_rate*dw, b2=b1-learning_rate*db are updated; where learning_rate is the learning rate, dw and db are the partial derivatives of the cost function with respect to the parameters, w1 is the weight vector of the current iteration step, w2 is the weight vector of the next iteration step, b1 is the bias term of the current iteration step, and b2 is the bias term of the next iteration step.
[0048] Result prediction: After parameter optimization, the established logistic regression model is used to predict whether sales have increased. That is, real-time media data is substituted into the hypothesis function h(x) as input features to obtain the magnitude of sales increase, and the result of whether sales have increased is sent to the result determination unit 301 in the result analysis module 300.
[0049] The result determination unit 301 receives the sales volume result of the next day and the result of whether the sales volume increases respectively sent by the sales data analysis unit 102 and the media data analysis unit 202, compares the two, and determines the final sales volume prediction result according to the comparison result, specifically including:
[0050] For the sales volume result predicted in the sales data analysis unit 102 for the next day, whether the sales volume has increased is calculated, and the difference is obtained by subtracting the sales volume result of the current day from the sales volume result of the next day. If the difference is greater than 0, the sales volume has increased, otherwise, the sales volume has decreased;
[0051] When it is determined that the sales volume predicted by the sales data analysis unit 102 is increasing, that is, the difference is greater than 0, and the result of whether the sales volume predicted by the media data analysis unit 202 is increasing is yes, then the comparison result is consistent, and the sales volume result is determined to be the final prediction result, otherwise, the comparison is inconsistent;
[0052] When it is determined that the sales data analysis unit 102 predicts a decrease in sales, that is, the difference is less than 0, and the media data analysis unit 202 predicts whether the sales will increase or not, the comparison result is consistent, and the sales result is determined to be the final prediction result, otherwise, the comparison is inconsistent.
[0053] When the comparison results are inconsistent, the feedback optimization unit 302 is started to perform method optimization processing on the sales data acquisition unit 101 and the media data analysis unit 202, specifically including:
[0054] For the sales data acquisition unit 101, the collected data is logarithmically transformed to reduce the skewness and stabilize the variance of the data, and the values less than or equal to 0 in the data are deleted to ensure that all data are positive numbers, because the logarithm is undefined for negative numbers and zero, and the logarithmic transformation is applied to each value in the data set to convert x into logx, and the transformed data is used for model training, so as to improve the accuracy and efficiency of the model;
[0055] For the media data analysis unit 202, a mini-batch gradient descent algorithm is used for optimization processing. The variance of the calculation is reduced by processing a small subset of the data (i.e., a mini-batch), where the size of the mini-batch includes but is not limited to 32, and matrix operations are used to optimize the acceleration. The parameters of the model are iteratively updated by dividing the training data into mini-batches. In each iteration, the algorithm first randomly selects a batch of data, and then performs forward propagation to calculate the predicted value. Next, the loss function is calculated and back propagation is performed to obtain the gradient of the loss with respect to the model parameters. Finally, these gradients and a predetermined learning rate are used to update the parameters. This process is repeated until convergence is reached, so as to optimize the parameters and improve the prediction performance of the model, while balancing the efficiency of computing resource utilization and the statistical efficiency of the model.
[0056] After optimizing the two, they are compared again according to the previous comparison logic until the final prediction result is determined.
[0057] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A tourism supply chain management system based on data mining technology, characterized by: It includes a time series model module (100), a logistic regression model module (200) and a result analysis module (300), wherein: The time series model module (100) collects historical sales data, and uses a long short-term memory network algorithm to build a model based on the historical sales data, and uses the built model to predict the sales volume for the next day; The logistic regression model module (200) collects media data, and uses a logistic regression algorithm to construct a model based on the media data, and uses the constructed model to predict whether sales have increased; The result analysis module (300) compares the prediction results of the time series model module (100) and the logistic regression model module (200), and obtains a difference by subtracting the sales result of the current day from the sales result of the future day in the time series model module (100). When the difference is greater than 0 and the result of whether the sales volume has increased in the logistic regression model module (200) is yes, they are relatively consistent, and the prediction result in the time series model module (100) is determined to be the final result; when the difference is less than 0 and the result of whether the sales volume has increased in the logistic regression model module (200) is no, they are relatively consistent, and the prediction result in the time series model module (100) is determined to be the final result; Otherwise, the time series model module (100) is optimized by logarithmically transforming the collected data to reduce the skewness and stable variance of the data; the logistic regression model module (200) is optimized by using a small batch gradient descent algorithm to optimize the parameters and improve the prediction performance of the model; after the optimization, another comparison is performed and multiple iterations are performed until the final result is determined; The time series model module (100) comprises a sales data acquisition unit (101) and a sales data analysis unit (102). The sales data acquisition unit (101) collects historical sales data using an internal database of an enterprise, and converts non-numeric data therein into numeric types using label encoding; the sales data analysis unit (102) constructs and predicts a model based on the historical sales data using a long short-term memory network model, and sends the prediction results to the result analysis module (300); The logistic regression model module (200) comprises a media data collection unit (201) and a media data analysis unit (202); the media data collection unit (201) collects media data of tourism products using crawler technology; the media data analysis unit (202) uses a logistic regression model to establish and predict a model based on the received media data, and sends the prediction result to the result analysis module (300); Wherein: the media data includes the number of posts, the number of mentions and whether sales have increased, and whether sales have increased is used as the target variable, and the remaining data features are used as explanatory variables; Historical sales data includes the number of travel product bookings, visitor arrival times, travel expenditures, weather conditions, holidays and regional events.
2. The tourism supply chain management system based on data mining technology according to claim 1 is characterized by: The result analysis module (300) includes a result determination unit (301) and a feedback optimization unit (302). The result determination unit (301) receives the prediction results sent by the sales data analysis unit (102) and the media data analysis unit (202), and compares the prediction results of the two. If they are consistent, the final result is determined. If they are inconsistent, the feedback optimization unit (302) optimizes the data collected by the sales data acquisition unit (101) and optimizes the method in the media data analysis unit (202).
3. The tourism supply chain management system based on data mining technology according to claim 1 is characterized by: The sales data analysis unit (102) uses the long short-term memory network model to construct a model and make predictions based on historical sales data, specifically including: By stacking long short-term memory network layers, the temporal relationship in the data is learned, and the fully connected layer is used to output the predicted value. The mean square error is used as the loss function, the prediction is generated through forward propagation, and the weights are optimized in multiple iterations through backpropagation. When predicting, the input shape is adjusted to conform to the three-dimensional array required by the long short-term memory network, and the prediction results for future sales are output based on the latest historical data.
4. The tourism supply chain management system based on data mining technology according to claim 1 is characterized by: The media data analysis unit (202) uses a logistic regression model to establish and predict a model based on the received media data, specifically including: The media data includes feature vectors and labels corresponding to whether sales have increased, and is used as the training set of the model. The training set is divided into an input feature matrix x and an output label vector y, where x is a matrix with m rows and n columns, representing n features of m samples; y is a column vector, representing the labels of whether sales of m samples have increased; Initialize the regression coefficient vector w and the bias term b, define the hypothesis function of the logistic regression model, use the Sigmoid function to linearly combine the input feature x and the parameter w, and add the bias term b, and map it to a probability value between 0 and 1 through the Sigmoid function, where the Sigmoid function maps any real input value to an output value between 0 and 1; define the cost function of the logistic regression model, which is the cross entropy loss function, which measures the difference between the model prediction result and the true label; The optimal parameters w and b are obtained by minimizing the cost function, and the gradient descent algorithm is used to update the parameters to reduce the cost function and calculate the predicted value; the partial derivatives of the cost function with respect to the parameters w and b are calculated; the parameters w2=w1-learning_rate*dw and b2=b1-learning_rate*db are updated; where learning_rate is the learning rate, dw and db are the partial derivatives of the cost function with respect to the parameters, w1 is the weight vector of the current iteration step, w2 is the weight vector of the next iteration step, b1 is the bias term of the current iteration step, and b2 is the bias term of the next iteration step.
5. The tourism supply chain management system based on data mining technology according to claim 2 is characterized by: The feedback optimization unit (302) optimizes the data collected by the sales data acquisition unit (101), specifically including: The collected data is logarithmically transformed to reduce the skewness and stabilize the variance of the data. Values less than or equal to 0 are deleted to ensure that all data are positive numbers. The logarithmic transformation is applied to each value in the data set to convert x into logx. The transformed data is used for model training to improve the accuracy and efficiency of the model.
6. The tourism supply chain management system based on data mining technology according to claim 2 is characterized by: The feedback optimization unit (302) optimizes the method in the media data analysis unit (202), specifically including: The optimization process is performed using a mini-batch gradient descent algorithm. The variance of the calculation is reduced by processing mini-batches of data, and matrix operations are used to optimize acceleration. The size of the mini-batch includes but is not limited to 32. The parameters of the model are iteratively updated by dividing the training data into mini-batches. In each iteration, the algorithm randomly selects a batch of data, performs forward propagation to calculate the predicted value, calculates the loss function and performs back propagation to obtain the gradient of the loss relative to the model parameters, and uses these gradients and a predetermined learning rate to update the parameters. This process is repeated until convergence is reached, thereby optimizing the parameters and improving the predictive performance of the model, while balancing the efficiency of computing resource usage and the statistical efficiency of the model.
Citation Information
Patent Citations
Commodity sales volume prediction method and device based on multi-modal features, and related equipment
CN113487359A
Sales prediction method and system
CN116720884A
