Asset inventory early warning system based on regression analysis
Through the asset inventory early warning system based on regression analysis, historical data is used to verify and select models to predict inventory consumption and issue early warnings, which solves the problem of insufficient prediction in traditional inventory management, improves the accuracy and efficiency of inventory management, and reduces operational costs. cost.
Patent Information
- Application Number
- CN202411260090.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-10-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional inventory management relies on manual experience prediction, and it is difficult to accurately predict asset inventory consumption, resulting in insufficient or excess inventory, which affects corporate operational efficiency.
Design an asset inventory early warning system based on regression analysis. By storing historical inventory data, verify and select the most appropriate regression prediction model, predict current and future inventory consumption, adjust the model according to the prediction deviation, and send out early warning signals to remind purchase replenishment. .
The accuracy and efficiency of inventory forecasting are improved, inventory shortages or excesses are avoided, procurement plans are optimized, and operating costs and inventory risks are reduced.
Smart Images

Figure CN118798781A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantitative analysis and computer technology, and in particular to an asset inventory early warning system based on regression analysis. Background Art
[0002] With the rapid development of the economy and the growth of enterprises, the inventory management of enterprises has gradually become precise and strict, and the inventory procurement management of assets has played an increasingly important role in the development of enterprises. The inventory assets of enterprises have the characteristics of large quantity, many types, high value, purchase price fluctuations with market fluctuations, continuous inventory consumption and periodic changes in the time dimension. It is very difficult to manage based on manual experience prediction. The asset consumption in traditional inventory management relies on manual experience speculation, or the method of each department directly submitting purchase applications. It is inefficient and difficult to grasp the law of inventory fluctuations. It is easy to lead to the lack of statistical prediction and planning of the demand or use of asset inventory by the enterprise, which in turn affects the actual use of assets and inventory management in production. Too little procurement leads to insufficient inventory, and expedited purchases will affect the operating efficiency of the enterprise.
[0003] Therefore, how to provide an asset inventory early warning system based on regression analysis is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention
[0004] In view of this, the present invention proposes an asset inventory early warning system based on regression analysis, which aims to solve the problem of predicting the number of asset outbound shipments during asset management and avoid reduced operational efficiency of the enterprise due to insufficient inventory.
[0005] The present invention proposes an asset inventory early warning system based on regression analysis, comprising: Storage module, processing module, judgment module and early warning module; The storage module is configured to store historical inventory data; The processing module is configured to collect historical inventory data in the storage module, and the processing module verifies each regression prediction model in the regression prediction model library according to the historical inventory data to determine the model to be used; The judgment module processes the historical inventory data according to the model to be used, obtains the current inventory consumption forecast, compares the inventory consumption forecast with the actual inventory consumption, obtains the absolute value of the forecast deviation, judges whether the model to be used is qualified according to the absolute value of the forecast deviation, and predicts the inventory forecast for the next period based on the model to be used when the absolute value of the forecast deviation is less than a minimum threshold; The early warning module is configured to compare the predicted inventory quantity for the next cycle with the inventory holding quantity and the procurement plan, and determine whether to issue an early warning based on the comparison result.
[0006] Furthermore, the inventory data includes unit statistical time and inventory consumption, and the unit statistical time and the inventory consumption correspond one to one.
[0007] Furthermore, the regression prediction model library includes a linear regression prediction model, a logistic regression prediction model, a polynomial regression prediction model, a stepwise regression prediction model, a ridge regression prediction model, a lasso regression prediction model and an elastic network regression prediction model.
[0008] Furthermore, when the processing module verifies each regression prediction model in the regression prediction model library according to the historical inventory data, it includes: the processing module divides the historical inventory data into a prediction set and a verification set, substitutes the prediction set into each regression prediction model, and compares the obtained data set with the verification set to determine the model to be used.
[0009] Furthermore, the judgment module processes the historical inventory data according to the linear regression prediction model to obtain the inventory consumption forecast amount, and the inventory consumption forecast amount is calculated by the following formula:
[0010] is the inventory consumption forecast, The unit statistics time, where and Calculated by the following formula:
[0011]
[0012] Where n is the number of rows of historical data, is the inventory consumption of each row of data, The unit statistical time for each row of data, is the average price of all rows. It is the average time of all rows.
[0013] Furthermore, when the judgment module judges whether the model to be used is qualified according to the absolute value of the prediction deviation, it includes: When the absolute value of the forecast deviation is less than the minimum threshold, the judgment module determines that the model to be used is qualified, and predicts the inventory forecast amount for the next period based on the linear regression forecast model; When the absolute value of the forecast deviation is greater than or equal to a minimum threshold, the linear regression forecasting model is corrected according to the actual inventory consumption, and the forecast inventory amount for the next period is predicted after correction.
[0014] Furthermore, when the warning module determines whether to issue a warning based on the comparison result, it includes: When the predicted inventory quantity for the next cycle is greater than the inventory holding quantity plus the purchase quantity of the purchase plan, the early warning module issues an early warning message.
[0015] Furthermore, the absolute value of the predicted deviation is obtained by the following formula:
[0016] represents the initial inventory quantity, Indicates the current inventory quantity. represents the current inventory consumption forecast, α and is the weight coefficient, and α+ =1.5, Represents the absolute value of the predicted deviation.
[0017] Further, the warning module issues warning information, including: a first warning signal, a second warning signal and a third warning signal; When the predicted inventory quantity for the next cycle is greater than or equal to 1.5 times or more of the sum of the inventory holding quantity and the purchase quantity, the warning module issues a first warning signal; When the predicted inventory quantity for the next cycle is greater than or equal to 1 times and less than 1.5 times the sum of the inventory holding quantity and the purchase quantity, the early warning module issues a second early warning signal; When the predicted inventory quantity for the next period is less than 1 times the sum of the inventory holding quantity and the purchase quantity, the warning module issues a third warning signal; The urgency of the first warning signal, the second warning signal, and the third warning signal decreases in sequence.
[0018] Compared with the prior art, the beneficial effects of the present invention are: the storage module stores a large amount of historical inventory data, providing basic data for subsequent analysis and prediction. By storing historical inventory data, the processing module can effectively analyze these data and store them completely and accurately. The processing module selects and verifies each model in the regression prediction model library to find the most suitable prediction model, which is beneficial to subsequent inventory prediction and ensures the rigor of the data. The current inventory consumption forecast is obtained through the judgment module, and the inventory consumption forecast is compared with the actual inventory consumption to obtain the absolute value of the prediction deviation, judge the gap between the predicted theoretical data and the actual data, and make appropriate adjustments, which is beneficial to further optimize the model. The early warning module compares the inventory forecast for the next cycle with the inventory holdings and the procurement plan, and determines whether to issue an early warning based on the comparison results, which is beneficial for enterprises to grasp the inventory consumption trend in a timely manner and make reasonable purchases and replenishments in advance. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 A functional block diagram of an asset inventory early warning system based on regression analysis provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0021] In some embodiments of the present application, see Figure 1 As shown, an asset inventory early warning system based on regression analysis includes: a storage module, a processing module, a judgment module and an early warning module.
[0022] The storage module is configured to store historical inventory data, the processing module is configured to collect historical inventory data in the storage module, the processing module verifies each regression prediction model in the regression prediction model library according to the historical inventory data, and determines the model to be used, the judgment module processes the historical inventory data according to the model to be used, obtains the current inventory consumption forecast, compares the inventory consumption forecast with the actual inventory consumption, obtains the absolute value of the forecast deviation, and judges whether the model to be used is qualified according to the absolute value of the forecast deviation. When the absolute value of the forecast deviation is less than a minimum threshold, the inventory forecast for the next period is predicted based on the model to be used. The early warning module is configured to compare the inventory forecast for the next period with the inventory holdings and the procurement plan, and judge whether to issue an early warning according to the comparison result.
[0023] Specifically, the storage module is responsible for storing historical inventory data. Historical inventory data refers to the unit statistical time and inventory consumption recorded in each time period in history, including specific asset types, time period information and inventory consumption information. The core role of the storage module is to provide basic data for subsequent analysis and prediction. Only when the historical inventory data is completely and accurately stored by the asset inventory early warning system of regression analysis can the processing module effectively analyze these data. The integrity and accuracy of the data will directly affect the reliability of subsequent model prediction and verification. The processing module is responsible for extracting historical inventory data from the storage module, and verifying each model in the regression prediction model library based on these data, and finally determining the prediction model to be used. The regression prediction model library contains a variety of regression models for predicting inventory consumption. The processing module screens out the most suitable prediction model by comparing the matching degree between the historical inventory data and the model output results. Based on the model selected by the processing module, the judgment module further processes the historical inventory data and generates the current inventory consumption forecast. This step is to predict the inventory consumption in the future. The generated forecast quantity is compared with the actual inventory consumption, and the deviation between the two is calculated. The absolute value of the deviation reflects the accuracy of the prediction. A smaller deviation means that the reliability of the prediction model is higher. The model to be used is judged whether it is qualified according to the absolute value of the predicted deviation. When the absolute value of the deviation is less than the minimum threshold preset by the system, the judgment module considers the model qualified and uses the model to predict the inventory quantity of the next cycle. If the judgment module finds that the prediction deviation is large and the error of the model prediction exceeds the allowable range, the prediction model is corrected according to the actual inventory consumption, and the inventory forecast quantity of the next cycle is predicted after correction. The early warning module is the monitoring and risk management part of the entire system. It compares the inventory forecast quantity of the next cycle with the inventory holdings and procurement plan, and determines which warning signal to issue based on the comparison results. The inventory forecast quantity of the next cycle generated by the judgment module is compared with the current inventory holdings and procurement quantities. If the inventory forecast quantity of the next cycle is greater than the sum of the inventory holdings and procurement quantities, the system will issue a corresponding early warning signal for insufficient inventory. The early warning module is designed as a multi-level early warning system, which issues early warnings of different intensities based on different risk levels. The entire system realizes full-process automated management from data storage, model verification, prediction generation to risk warning through the collaborative work of storage modules, processing modules, judgment modules and warning modules.
[0024] It is understandable that the system stores the historical inventory data of the asset in the storage module to provide data support for subsequent analysis. Model verification and selection: The processing module processes the inventory data, verifies and selects the most suitable regression prediction model, and determines the model to be used. The judgment module performs inventory forecasting based on the selected model, and judges the eligibility of the model by calculating the forecast deviation. If the model is qualified, the system will continue to use the model for forecasting the next cycle. If it is unqualified, the system will adjust the model for forecasting the next cycle. The early warning module determines whether there is inventory risk based on the comparison of the forecast results with the inventory holdings and procurement plans, and issues corresponding early warning signals. Through automated forecasting and early warning, the problems of insufficient forecasting of inventory consumption and procurement in asset management can be solved, the response speed of the supply chain can be improved, the procurement and inventory management processes can be optimized, and the operating costs can be reduced. The entire system achieves efficient inventory management and risk control through precise data management, intelligent forecasting analysis and timely risk warning.
[0025] In some embodiments of the present application, the inventory data includes unit statistical time and inventory consumption, and the unit statistical time and inventory consumption correspond one to one.
[0026] Specifically, the inventory data in the system consists of two key elements: unit statistical time and inventory consumption. These data are recorded one by one in chronological order to form a time series. Each specific unit time period of various assets will correspond to a specific inventory consumption. The unit statistical time can be one day, one week or one month. In each unit statistical time, the system will record the inventory consumption of the current period.
[0027] It is understandable that due to the correspondence between the time dimension of the data and the consumption, the inventory consumption data can be counted in chronological order by recording the unit statistical time. The system analyzes the sequence of unit statistical time, which can help identify the periodic laws and trend changes of inventory consumption, predict inventory demand in a specific time period in the future, improve the efficiency of inventory management, and reduce losses caused by insufficient or excessive inventory. At the same time, the system can optimize inventory levels, reduce the cost of holding inventory, and improve the efficiency of capital utilization.
[0028] In some embodiments of the present application, the regression prediction model library includes a linear regression prediction model, a logistic regression prediction model, a polynomial regression prediction model, a stepwise regression prediction model, a ridge regression prediction model, a lasso regression prediction model, and an elastic net regression prediction model.
[0029] Specifically, the diversity of the regression prediction model library provides the asset inventory early warning system of regression analysis with the flexibility of free choice and the adaptability to deal with various types of data. Different regression models are suitable for different inventory management scenarios, and the system can select the most appropriate model for inventory forecasting according to actual needs.
[0030] The linear regression prediction model is used to predict the linear relationship between the dependent variable and the independent variable. It assumes that there is a linear relationship between the dependent variable and the independent variable, finds the best fit line by minimizing the residual sum of squares, and predicts the dependent variable through the best fit line. When the relationship between the dependent variable and the independent variable is close to linear, the linear regression model can provide better predictions. It is suitable for situations with large amounts of data, especially when exploring data features.
[0031] The logistic regression prediction model is used for classification problems rather than continuous numerical prediction. It can help determine the probability of occurrence of certain discrete events. Logistic regression uses a logistic function to map the result of linear regression to a probability value between 0 and 1. It processes categorical data by providing probability output. It is suitable for scenarios with obvious decision boundaries. When there are significant overlapping or unbalanced data sets, the model effect will be affected.
[0032] The polynomial regression prediction model is an extension of the linear regression prediction model. When the data presents a nonlinear trend, the nonlinear relationship between the dependent variable and the independent variable is fitted by introducing higher-order terms of the independent variable. The more times the higher-order polynomial terms are introduced, the greater the complexity and computational cost of the model, and the worse the interpretability of the prediction results.
[0033] The stepwise regression prediction model is a model for variable selection. By gradually adding or deleting independent variables, the combination of variables that is most helpful in predicting the dependent variable is found from multiple independent variables. It can be a forward stepwise regression: starting from no variables, the most significant variables are gradually introduced until the model's predictive ability is no longer significantly improved. It can also be a backward stepwise regression: starting from all variables, the variables that contribute the least to the prediction are gradually deleted until deleting any variable will significantly reduce the model's predictive ability. It can also be a two-way stepwise regression: combining the strategies of forward selection and backward elimination, while adding and deleting variables.
[0034] The ridge regression prediction model is a regularized linear regression model used to solve the problem of multicollinearity. Multicollinearity refers to the high correlation between independent variables, which will lead to unstable regression coefficients and may cause the prediction results to become unstable. The ridge regression prediction model increases the robustness of the model and prevents overfitting by adding regularization terms to the loss function to limit the size of the regression coefficients. The ridge regression prediction model is particularly suitable for high-dimensional data and data sets with serious multicollinearity problems.
[0035] The lasso regression prediction model is also a regularized model. It is similar to the ridge regression prediction model, but its regularization term uses the L1 regularization term. The lasso regression prediction model can reduce unimportant regression coefficients to zero, thereby achieving automatic selection of variables. Compared with the ridge regression prediction model, the lasso regression prediction model slightly reduces the prediction accuracy and is particularly suitable for data sets with many variables and more redundancy.
[0036] The elastic net regression prediction model combines the advantages of the ridge regression prediction model and the lasso regression prediction model. It can reduce the regression coefficient and select important variables by introducing L1 and L2 regularization terms in the regression model. When the data set is highly sparse and the independent variables are correlated, the elastic net regression prediction model can provide more stable and effective predictions.
[0037] It is understandable that the regression prediction model library provides a powerful prediction tool for inventory management by integrating multiple regression prediction models. The linear regression prediction model is suitable for basic linear problems, while the polynomial regression prediction model expands its application in nonlinear problems. The logistic regression prediction model is used for classification problems and judgment probabilities. The stepwise regression prediction model simplifies the model by selecting variables. The ridge regression prediction model copes with multicollinearity through regularization, and the lasso regression prediction model realizes both regularization and variable selection. The elastic network regression prediction model combines the advantages of the ridge regression prediction model and the lasso regression prediction model, and performs well in high-dimensional and complex data. Each model has its own advantages and functions in different application scenarios. The system can flexibly select the most appropriate model to predict inventory consumption, thereby optimizing inventory management, improving operational efficiency, and reducing inventory risks.
[0038] In some embodiments of the present application, when the processing module verifies each regression prediction model in the regression prediction model library based on historical inventory data, it includes: the processing module divides the historical inventory data into a prediction set and a verification set, substitutes the prediction set into each regression prediction model, and compares the obtained data set with the verification set to determine the model to be used.
[0039] Specifically, before building a regression prediction model, it is necessary to classify historical inventory data. Prediction set: The set includes the unit statistical time of each historical period. The entire time series is input into the regression model to help the model make predictions. Validation set: The set includes the inventory consumption corresponding to the unit statistical time of each historical period. The inventory consumption is compared with the model prediction results to evaluate the model's prediction ability.
[0040] It is understandable that since the unit statistical time and inventory consumption correspond one to one in chronological order, the independent variable is identified as the unit statistical time, and the dependent variable is identified as the inventory consumption. The inventory consumption and unit statistical time data are relatively uniform. Only considering these two variables and not calculating the probability of occurrence, there is no need to introduce regularization terms. The prediction set is brought into the model, and the resulting data set is basically around the verification set and the fluctuation range is not large. The processing module obtains the best regression prediction model: linear regression prediction model.
[0041] In some embodiments of the present application, the judgment module processes the historical inventory data according to the linear regression prediction model to obtain the inventory consumption prediction amount, and the inventory consumption prediction amount is calculated by the following formula:
[0042] is the inventory consumption forecast, is the unit statistical time, where and Calculated by the following formula:
[0043]
[0044] in, is the number of rows of historical data, is the inventory consumption of each row of data, The unit statistical time for each row of data, is the average price of all rows. It is the average time of all rows.
[0045] Specifically, in this equation: represents the independent variable, which is the unit statistical time, Represents the dependent variable, which is the predicted inventory consumption. and are the parameters of the linear regression prediction model, representing the intercept and slope, respectively. According to the linear regression formula, according to and And the slope Sure.
[0046] It is understandable that the intercept It is to confirm the slope In the case of , it is determined by the average value of time in all rows and the average value of price in all rows. This also means The model is =0, which is the corresponding forecast value, expressed as the inventory at the starting point of the unit statistical time. The complete linear regression forecast model obtained by calculation includes and The functional relationship is used to obtain the predicted inventory consumption corresponding to the future unit statistical time.
[0047] In some embodiments of the present application, the judgment module judges whether the model to be used is qualified based on the absolute value of the prediction deviation, including: when the absolute value of the prediction deviation is less than the minimum threshold, the judgment module determines that the model to be used is qualified, and predicts the inventory forecast for the next period based on the linear regression prediction model; when the absolute value of the prediction deviation is greater than or equal to the minimum threshold, the linear regression prediction model is corrected according to the actual inventory consumption, and the inventory forecast for the next period is predicted after correction.
[0048] Specifically, the absolute value of the forecast deviation refers to the difference between the forecast inventory and the actual inventory consumption. The judgment module determines whether there is a problem with the forecast model by analyzing the difference and takes corresponding measures. When the absolute value of the forecast deviation is less than the preset minimum threshold, the accuracy of the forecast model is high, and the error between the forecast result and the actual situation is within an acceptable range. At this time, the judgment module will determine that the forecast model is qualified and use the model to predict the inventory demand for the next cycle. If the absolute value of the forecast deviation is greater than or equal to the minimum threshold, it means that the accuracy of the forecast model is insufficient and the data has a large forecast error. At this time, the judgment module will determine that the model is unqualified and the system will start the correction module. The correction module needs to adjust the linear regression forecast model by analyzing the actual inventory consumption to improve the forecasting ability. The adjusted model will be used to predict the inventory forecast for the next cycle.
[0049] It is understandable that when the judgment module finds that the absolute value of the predicted deviation is greater than or equal to the minimum threshold, the slope is appropriately adjusted. Reduce to meet the needs of the data. When the slope is reduced When the linear regression prediction model and the X-axis are adjusted, the angle between them becomes smaller, so that the unit statistical time and the inventory consumption forecast are more consistent with the variable range, so as to improve the prediction ability of the linear regression prediction model. The corrected model will be used for inventory forecasting in the next cycle. This dynamic adjustment mechanism ensures that the system can be continuously optimized as the actual inventory data changes, thereby providing more accurate prediction results, improving the efficiency of inventory management, and reducing the risk of excess or oversaturated inventory due to inaccurate inventory forecasting.
[0050] In some embodiments of the present application, when the warning module determines whether to issue a warning based on the comparison result, it includes: when the inventory forecast for the next cycle is greater than the inventory holdings plus the purchase plan's purchase quantity, the warning module issues a warning message.
[0051] Specifically, the main task of the early warning module is to determine whether to issue an early warning signal by comparing the predicted inventory with the existing inventory and the purchase plan. When the system predicts the inventory forecast for the next cycle based on the linear regression prediction model, the early warning module will first calculate the sum of the current inventory holdings and the purchase plan's purchase volume. This predicted volume represents the total inventory that the company can actually control in the next cycle. When the system predicts that the inventory demand for the next cycle is greater than the inventory holdings plus the purchase plan's purchase volume, the early warning module determines that there may be a risk of insufficient inventory. At this time, the early warning module immediately issues an early warning message, prompting that measures need to be taken to avoid inventory shortages.
[0052] It is understandable that the warning information issued by the early warning module can be divided into several types according to the degree of urgency, including the first warning signal, the second warning signal, and the third warning signal. When the inventory forecast shows that the inventory is insufficient in the next cycle, the system will issue a corresponding warning signal based on the comparison of the data to adjust the production plan or increase the purchase volume. If the system finds that the inventory forecast shows a long-term growth trend, it may lead to the risk of insufficient actual inventory, and the early warning module will also issue a warning signal. The early warning module takes into account the business scenarios of different environments and can provide flexible early warning strategies according to different scenarios. These situations include seasonal fluctuations, sudden changes in demand, supply chain disruptions, etc. Through the effective operation of the early warning module, accurate monitoring and risk warning of inventory management are achieved. By comparing the inventory forecast with the inventory holdings and the purchase plan, the early warning module can timely identify potential problems in inventory management and issue corresponding early warning information to ensure the balance and stability of inventory in a complex and changing market environment.
[0053] In some embodiments of the present application, the absolute value of the predicted deviation is obtained by the following formula:
[0054] represents the initial inventory quantity, Indicates the current inventory quantity. represents the current inventory consumption forecast, α and is the weight coefficient, and + =1.5, Indicates the absolute value of the forecast deviation.
[0055] Specifically, in inventory management, the absolute value of the forecast deviation is a key indicator to measure the accuracy of inventory forecasting. It indicates the difference between the forecast result and the actual result. It directly reflects the accuracy of the forecasting model and provides a basis for subsequent model adjustment and optimization. Initial inventory: refers to the total inventory recorded at the beginning of a time period. Current inventory: refers to the actual inventory quantity at a specific moment. This value is dynamic and will change with the passage of time and the consumption or replenishment of inventory. Current inventory consumption forecast: This is the inventory that will be consumed in the current cycle predicted by the linear regression analysis model.
[0056] Understandably, represents the weight of inventory consumption, and β represents the weight of current inventory. =1.5, Role: Due to A certain weight is given to inventory consumption, which reflects the system's dependence on the initial inventory. A larger value means that the system attaches more importance to the inventory status at the beginning of the period and considers it to have a greater influence on the forecast deviation. Role: The current inventory consumption forecast is given a certain weight, which means that the system attaches importance to the current inventory consumption forecast when calculating the forecast deviation. If it is larger, the current inventory consumption forecast contributes more to the forecast deviation, reflecting the system's reliance on forecast data.
[0057] In some embodiments of the present application, when the warning module issues a warning message, it includes: a first warning signal, a second warning signal, and a third warning signal; When the predicted inventory quantity for the next cycle is greater than or equal to 1.5 times or more of the sum of the inventory holding quantity plus the purchase quantity, the warning module issues the first warning signal; When the predicted inventory quantity for the next period is greater than or equal to 1 times and less than 1.5 times the sum of the inventory holding quantity and the purchase quantity, the warning module issues a second warning signal; When the next cycle's predicted inventory quantity is less than 1 times the sum of the inventory holding quantity and the purchase quantity, the warning module issues a third warning signal; The urgency of the first warning signal, the second warning signal, and the third warning signal decreases successively.
[0058] Specifically, the main function of the early warning module is to compare the inventory forecast for the next cycle with the current inventory holdings and the total purchase volume, and issue early warning signals of different levels. These early warning signals are divided into three categories according to the degree of urgency: the first early warning signal, the second early warning signal, and the third early warning signal. Each signal represents a different degree of inventory risk and prompts you to take corresponding countermeasures. The first early warning signal: This is the highest level of early warning signal issued by the early warning module. When the system predicts that the inventory forecast for the next cycle is greater than or equal to 1.5 times or more of the sum of the current inventory holdings and the purchase volume, the early warning module will issue the first early warning signal. This signal indicates that the demand for the forecasted inventory will far exceed the existing inventory and the planned purchase volume, which will lead to serious inventory shortages and the need to increase the purchase volume. The second early warning signal: When the inventory forecast for the next cycle is greater than or equal to 1 times but less than 1.5 times the sum of the current inventory holdings and the purchase volume, the early warning module will issue the second early warning signal. The urgency of this signal is lower than the first early warning signal, but it still indicates that the demand for the forecasted inventory may exceed the existing inventory and purchase plan. It is also necessary to adjust the purchase plan and increase the purchase volume to avoid potential inventory shortages. The third warning signal: This is the lowest level of warning signal issued by the warning module. When the system predicts that the next cycle's inventory forecast is less than 1 times the sum of the current inventory holdings and the purchase volume, the warning module will issue the third warning signal. This signal usually indicates that the inventory situation is within the controllable range, but it is still necessary to pay attention to the trend of inventory consumption. If the situation does not improve, it is also necessary to adjust the procurement plan and increase the procurement volume.
[0059] It is understandable that the system uses a linear regression forecasting model to predict the inventory forecast for the next cycle. The early warning module compares the inventory forecast with the sum of the inventory holdings and the purchase volume, and triggers the corresponding early warning signal based on the comparison results. When the first early warning signal is triggered, it may be necessary to immediately start the emergency procurement procedure to increase the inventory supply to meet future inventory needs. The second early warning signal usually does not require emergency procurement, but it is still necessary to consider optimizing the existing procurement plan and increasing the purchase volume of future cycles in advance. For the third early warning signal, it is only necessary to continuously monitor the inventory consumption to ensure that demand does not change drastically.
[0060] In summary, an asset inventory early warning system based on regression analysis includes a storage module, a processing module, a judgment module and an early warning module. The storage module stores a large amount of historical inventory data, providing basic data for subsequent analysis and prediction. By storing historical inventory data, the processing module can effectively analyze these data and store them completely and accurately. The processing module selects and verifies each model in the regression prediction model library to find the most suitable prediction model, which is conducive to subsequent inventory prediction and ensures the rigor of the data. The current inventory consumption forecast is obtained through the judgment module, and the inventory consumption forecast is compared with the actual inventory consumption to obtain the absolute value of the prediction deviation, judge the gap between the predicted theoretical data and the actual data, and make appropriate adjustments, which is conducive to further optimization of the model. The early warning module compares the inventory forecast of the next cycle with the inventory holdings and the procurement plan, and determines whether to issue an early warning based on the comparison results, which is conducive to enterprises to grasp the inventory consumption trend in time and make reasonable purchases in advance.
[0061] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0062] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0063] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0064] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0065] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. An asset inventory early warning system based on regression analysis, characterized in that: include: Storage module, processing module, judgment module and early warning module; The storage module is configured to store historical inventory data; The processing module is configured to collect historical inventory data in the storage module, and the processing module verifies each regression prediction model in the regression prediction model library according to the historical inventory data to determine the model to be used; The judgment module processes the historical inventory data according to the model to be used, obtains the current inventory consumption forecast, compares the inventory consumption forecast with the actual inventory consumption, obtains the absolute value of the forecast deviation, judges whether the model to be used is qualified according to the absolute value of the forecast deviation, and predicts the inventory forecast for the next period based on the model to be used when the absolute value of the forecast deviation is less than a minimum threshold; The early warning module is configured to compare the predicted inventory quantity for the next cycle with the inventory holding quantity and the procurement plan, and determine whether to issue an early warning based on the comparison result.
2. The asset inventory early warning system based on regression analysis according to claim 1 is characterized in that: The inventory data includes unit statistical time and inventory consumption, and the unit statistical time and the inventory consumption correspond to each other one by one.
3. The asset inventory early warning system based on regression analysis according to claim 2 is characterized in that: The regression prediction model library includes a linear regression prediction model, a logistic regression prediction model, a polynomial regression prediction model, a stepwise regression prediction model, a ridge regression prediction model, a lasso regression prediction model and an elastic network regression prediction model.
4. The asset inventory early warning system based on regression analysis according to claim 3 is characterized in that: When the processing module verifies each regression prediction model in the regression prediction model library according to the historical inventory data, it includes: the processing module divides the historical inventory data into a prediction set and a verification set, substitutes the prediction set into each regression prediction model, and compares the obtained data set with the verification set to determine the model to be used.
5. The asset inventory early warning system based on regression analysis according to claim 4 is characterized in that: The judgment module processes the historical inventory data according to the linear regression prediction model to obtain the inventory consumption forecast amount, and the inventory consumption forecast amount is calculated by the following formula: is the inventory consumption forecast, is the unit statistical time, where and Calculated by the following formula: Where n is the number of rows of historical data, is the inventory consumption of each row of data, The unit statistical time for each row of data, is the average price of all rows. It is the average time of all rows.
6. The asset inventory early warning system based on regression analysis according to claim 5 is characterized in that: When the judgment module judges whether the model to be used is qualified according to the absolute value of the prediction deviation, it includes: When the absolute value of the forecast deviation is less than the minimum threshold, the judgment module determines that the model to be used is qualified, and predicts the inventory forecast amount for the next period based on the linear regression forecast model; When the absolute value of the forecast deviation is greater than or equal to a minimum threshold, the linear regression forecasting model is corrected according to the actual inventory consumption, and the forecast inventory amount for the next period is predicted after correction.
7. The asset inventory early warning system based on regression analysis according to claim 6 is characterized in that: When the early warning module determines whether to issue an early warning according to the comparison result, it includes: When the predicted inventory quantity for the next cycle is greater than the inventory holding quantity plus the purchase quantity of the purchase plan, the early warning module issues an early warning message.
8. The asset inventory early warning system based on regression analysis according to claim 7 is characterized in that: The absolute value of the predicted deviation is obtained by the following formula: represents the initial inventory quantity, Indicates the current inventory quantity. represents the current inventory consumption forecast, α and is the weight coefficient, and α+ =1.5, Represents the absolute value of the predicted deviation.
9. The asset inventory early warning system based on regression analysis according to claim 8, characterized in that: When the warning module issues warning information, it includes: a first warning signal, a second warning signal and a third warning signal; When the predicted inventory quantity for the next cycle is greater than or equal to 1.5 times or more of the sum of the inventory holding quantity and the purchase quantity, the warning module issues a first warning signal; When the predicted inventory quantity for the next cycle is greater than or equal to 1 times and less than 1.5 times the sum of the inventory holding quantity and the purchase quantity, the early warning module issues a second early warning signal; When the predicted inventory quantity for the next period is less than 1 times the sum of the inventory holding quantity and the purchase quantity, the warning module issues a third warning signal; The urgency of the first warning signal, the second warning signal, and the third warning signal decreases in sequence.
Citation Information
Patent Citations
Cloud-based service construction resource allocation method, device and computer equipment
CN113268350A
Safe inventory configuration method and device
CN113592380A
Consumable demand and inventory control method and system, equipment and storage medium
CN113780907A
Prediction method and device for dish sales volume, equipment and medium
CN116205338A
Inventory management method and device based on artificial intelligence, electronic equipment and medium
CN116245458A
