Method and device for determining supply prediction model, medium and equipment
By using different strategies to generate supply forecast models based on item types, it solves the problem of difficulty in adapting to complex e-commerce supply chain scenarios in existing technology, improves forecast accuracy and efficiency, and meets downstream needs.
Patent Information
- Application Number
- CN202310440821.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-21
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing technology, the supply forecast model selected through machine learning or meta-learning methods is difficult to adapt to complex e-commerce supply chain scenarios, cannot meet downstream replenishment needs, and does not take into account turnover rate and spot rate.
Depending on the item type of the target item, different strategies are used to generate supply prediction models: for core items, a reinforcement learning model is used to generate the model; for non-core items, a preset low supply, mean, or efficient statistical model is selected.
The accuracy and efficiency of the supply forecast model are improved, and it can better adapt to complex e-commerce supply chain scenarios, meet downstream replenishment needs and consider turnover rate and spot rate.
Smart Images

Figure CN118820701A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a method for determining a supply quantity prediction model, an apparatus for determining a supply quantity prediction model, a computer-readable storage medium, and an electronic device. Background Art
[0002] In the e-commerce supply chain scenario, the upstream of the supply chain is supply forecasting technology, such as sales forecasting technology, which is the cornerstone of item replenishment and allocation. Therefore, supply forecasting technology is particularly important.
[0003] In the related art, a supply forecasting model is selected through machine learning or meta-learning methods, and then the supply forecasting model is used to predict the supply. However, the forecasting model selected through machine learning or meta-learning methods is a single forecasting model, which is difficult to adapt to complex e-commerce supply chain scenarios.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The purpose of the present disclosure is to provide a method for determining a supply quantity forecast model, an apparatus for determining a supply quantity forecast model, a computer-readable storage medium and an electronic device, so as to solve the problem that related technologies are difficult to adapt to complex e-commerce supply chain scenarios.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a method for determining a supply quantity prediction model is provided, comprising: acquiring historical data of a target item and predicted characteristic data of the target item; classifying the target item according to the historical data of the target item to obtain an item type of the target item; if the target item is determined to be a core item according to the item type of the target item, generating a supply quantity prediction model of the target item according to the historical data of the target item and the predicted characteristic data of the target item; if the target item is determined to be a non-core item according to the item type of the target item, selecting a supply quantity prediction model of the target item from preset supply quantity prediction models.
[0008] In an optional embodiment of the present disclosure, if the target item is determined to be a core item based on the item type of the target item, then a supply quantity prediction model of the target item is generated based on the historical data of the target item and the predicted feature data of the target item, including: if the first-level classification of the target item is a best-selling item and the second-level classification is a stable item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a sensitive item, then the target item is determined to be a core item; based on a reinforcement learning model, reinforcement learning is performed on the historical data of the target item and the predicted feature data of the target item to generate a supply quantity prediction model for the target item.
[0009] In an optional embodiment of the present disclosure, the reinforcement learning model is used to perform reinforcement learning on the historical data of the target item and the predicted feature data of the target item to generate a supply prediction model for the target item, including: inputting the historical data of the target item and the predicted feature data of the target item into a pre-trained model of the reinforcement learning model, and outputting the weight of each alternative model in one or more alternative models; and performing weighted summation of the weights of each alternative model with each alternative model to obtain the supply prediction model for the target item.
[0010] In an optional embodiment of the present disclosure, the method further includes: utilizing the supply quantity prediction model of the target item to obtain the predicted supply quantity of the target item, the predicted turnover quantity of the target item, and the predicted inventory quantity of the target item; determining a predicted reward value based on the predicted supply quantity of the target item, determining a turnover reward value based on the predicted turnover quantity of the target item, and determining an inventory reward value based on the predicted inventory quantity of the target item; summing the predicted reward value, the periodic reward value, and the inventory reward value to obtain a target reward value, and utilizing the target reward value to optimize the weights of the various alternative models; and optimizing the supply quantity prediction model of the target item based on the optimized weights of the various alternative models.
[0011] In an optional embodiment of the present disclosure, if the target item is determined to be a non-core item based on the item type of the target item, then a supply quantity forecasting model of the target item is selected from preset supply quantity forecasting models, including: if the first-level classification of the target item is a non-best-selling item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a non-sensitive item, then the target item is determined to be a non-core item; and the supply quantity forecasting model of the target item is selected from the preset supply quantity forecasting models, and the preset supply quantity forecasting models include a low supply quantity model, a mean supply quantity model, and an efficient statistical model.
[0012] In an optional embodiment of the present disclosure, the method also includes: if the low supply model is selected as the supply prediction model for the target item, then based on the low supply model, the target supply of the target item is predicted to be a preset supply threshold; if the mean supply model is selected as the supply prediction model for the target item, then based on the mean supply model, the target supply of the target item is predicted to be the mean of the historical sales volume of the target item; if the efficient statistical model is selected as the supply prediction model for the target item, the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume are obtained from the historical data of the target item, and then based on the efficient statistical model, the target supply of the target item is predicted according to the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume.
[0013] In an optional embodiment of the present disclosure, the method also includes: determining an item stratification index system, the item stratification index system including three layers of classification scenarios and index parameters under each layer of classification scenarios; constructing an item stratification decision tree based on the item stratification index system; wherein the item stratification decision tree is used to classify items to obtain the item types of the items; the first layer of the item stratification decision tree divides the items into best-selling items and non-best-selling items, the second layer of the item stratification decision tree divides the items into stable items and fluctuating items, and the third layer of the item stratification decision tree divides the items into sensitive items and non-sensitive items.
[0014] According to another aspect of the present disclosure, there is provided an apparatus for determining a supply quantity prediction model, comprising: an acquisition module for acquiring historical data of a target item and predicted characteristic data of the target item; a classification module for classifying the target item according to the historical data of the target item to obtain the item type of the target item; a model determination module for generating a supply quantity prediction model of the target item according to the historical data of the target item and the predicted characteristic data of the target item if the target item is determined to be a core item according to the item type of the target item; and selecting a supply quantity prediction model of the target item from preset supply quantity prediction models if the target item is determined to be a non-core item according to the item type of the target item.
[0015] In an optional embodiment of the present disclosure, the model determination module is also used to: determine that the target item is a core item if the first-level classification of the target item is a best-selling item and the second-level classification is a stable item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a sensitive item; based on the reinforcement learning model, perform reinforcement learning on the historical data of the target item and the predicted feature data of the target item to generate a supply prediction model for the target item.
[0016] In an optional embodiment of the present disclosure, the model determination module is also used to: input the historical data of the target item and the predicted feature data of the target item into the pre-trained model of the reinforcement learning model, and output the weight of each alternative model in one or more alternative models; perform weighted summation of the weights of each alternative model with each alternative model to obtain a supply prediction model for the target item.
[0017] In an optional embodiment of the present disclosure, the model determination module is further used to: utilize the supply quantity prediction model of the target item to obtain the predicted supply quantity of the target item, the predicted turnover quantity of the target item and the predicted inventory quantity of the target item; determine the predicted reward value according to the predicted supply quantity of the target item, determine the turnover reward value according to the predicted turnover quantity of the target item, and determine the inventory reward value according to the predicted inventory quantity of the target item; sum the predicted reward value, the period reward value and the inventory reward value to obtain the target reward value, and utilize the target reward value to optimize the weights of the various alternative models; optimize the supply quantity prediction model of the target item according to the optimized weights of the various alternative models.
[0018] In an optional embodiment of the present disclosure, the model determination module is also used to: determine that the target item is a non-core item if the first-level classification of the target item is a non-best-selling item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a non-sensitive item; select a supply volume forecast model for the target item from the preset supply volume forecast models, and the preset supply volume forecast models include a low supply volume model, a mean supply volume model, and an efficient statistical model.
[0019] In an optional embodiment of the present disclosure, the device also includes a supply quantity determination module, which is used to: if the low supply quantity model is selected as the supply quantity prediction model of the target item, then based on the low supply quantity model, predict the target supply quantity of the target item to be a preset supply quantity threshold; if the mean supply quantity model is selected as the supply quantity prediction model of the target item, then based on the mean supply quantity model, predict the target supply quantity of the target item to be the mean of the historical sales volume of the target item; if the efficient statistical model is selected as the supply quantity prediction model of the target item, then obtain the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume from the historical data of the target item, and then predict the target supply volume of the target item based on the efficient statistical model according to the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume.
[0020] In an optional embodiment of the present disclosure, the device also includes a decision tree construction module, which is used to: determine an item stratification index system, the item stratification index system includes three-layer classification scenarios and index parameters under each layer of classification scenarios; based on the item stratification index system, construct an item stratification decision tree; wherein the item stratification decision tree is used to classify items to obtain the item types of the items; the first layer of the item stratification decision tree divides the items into best-selling items and non-best-selling items, the second layer of the item stratification decision tree divides the items into stable items and fluctuating items, and the third layer of the item stratification decision tree divides the items into sensitive items and non-sensitive items.
[0021] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for determining a supply quantity prediction model is implemented.
[0022] According to another aspect of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned method for determining a supply quantity prediction model by executing the executable instructions.
[0023] The method for determining the supply forecast model of the disclosed embodiment identifies the item type of the target item based on the historical data of the target item, and then if the target item is judged to be a core item based on the item type, a supply forecast model is generated based on the historical data and forecast feature data of the target item, and if the target item is judged to be a non-core item based on the item type, the supply forecast model of the target item is directly selected from the preset supply forecast model. In this way, different strategies are used to generate supply forecast models for core items and non-core items to avoid generating a single forecast model, which can be applied to complex e-commerce supply chain scenarios; and, if the target item is a core item, a supply forecast model of the target item is generated based on the information of the target item, so that the accuracy of the supply forecast model is higher, thereby improving the forecast effect of the supply forecast model; and, if the target item is a non-core item, the supply forecast model is directly selected from the preset model, which can efficiently determine the supply forecast model and ensure the operating efficiency of the entire e-commerce platform.
[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0026] Figure 1 is a schematic diagram of a system architecture of a method for determining a supply quantity prediction model according to an exemplary embodiment;
[0027] Figure 2 is a flow chart of a method for determining a supply quantity forecasting model according to an exemplary embodiment;
[0028] Figure 3 is a schematic diagram of a structure of a hierarchical decision tree for items constructed according to an exemplary embodiment;
[0029] Figure 4 is a process diagram showing a method of generating a supply quantity prediction model of a target item when the target item is a core item according to an exemplary embodiment;
[0030] Figure 5 is a structural diagram of a reinforcement learning model according to an exemplary embodiment;
[0031] Figure 6 is a process diagram of selecting a supply quantity prediction model of a target item when the target item is a non-core item according to an exemplary embodiment;
[0032] Figure 7 is a process diagram of a method for determining a supply quantity forecasting model according to an exemplary embodiment;
[0033] Figure 8 is a block diagram of an apparatus for determining a supply quantity prediction model according to an exemplary embodiment; and
[0034] Fig. 9 It is a structural block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0035] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein.
[0037] The following example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0038] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0039] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0040] In the related art, a supply forecasting model is selected through machine learning or meta-learning methods, and then the supply forecasting model is used to predict the supply. Specifically, based on a machine learning tree model, a decision tree method can be used to select the best model from multiple candidate models as the supply forecasting model; or, based on a meta-learning framework, the weights of the candidate models are output by modifying the loss function of the model to obtain a forecasting model.
[0041] However, the supply forecasting models determined by machine learning or meta-learning methods are all single models, which are difficult to adapt to complex e-commerce supply chain scenarios. In addition, the method of selecting supply forecasting models by machine learning or meta-learning methods is not combined with the supply chain scenario, such as not meeting the downstream replenishment needs, and not considering the downstream turnover rate and spot rate.
[0042] In order to solve the above problems, the embodiments of the present disclosure provide a technical solution for determining a supply quantity prediction model. For core items and non-core items, different strategies are adopted to determine the supply quantity prediction model of the items. This solution can be applied to complex e-commerce supply chain scenarios to improve the accuracy of the supply quantity prediction model.
[0043] Figure 1 1 is a schematic diagram of a system architecture of a method for determining a supply quantity prediction model according to an exemplary embodiment, the system architecture includes a server 101, a network 102, and a client 103. The network 102 is used to provide a medium for a communication link between the client 103 and the server 101. The network 102 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0044] Among them, server 101 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some practical applications, server 101 can also be a server of a network platform, and the network platform can be, for example, a trading platform, a live broadcast platform, a social platform, or a music platform, etc., which is not limited in the embodiments of the present disclosure. Among them, the server can be a single server or a cluster formed by multiple servers, and the present disclosure does not limit the specific architecture of the server.
[0045] The client 103 may include, but is not limited to, electronic devices such as smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, AR (Augmented Reality) devices, VR (Virtual Reality) devices, and smart wearable devices, or the client 103 may also be a personal computer, such as a laptop computer and a desktop computer, etc. Optionally, the operating system running on the electronic device may include, but is not limited to, Android, IOS, Linux, Windows, etc.
[0046] In the disclosed embodiment, the server 101 may: obtain historical data of the target item and predicted feature data of the target item; classify the target item according to the historical data of the target item to obtain the item type of the target item; if the target item is determined to be a core item according to the item type of the target item, then generate a supply quantity prediction model for the target item according to the historical data of the target item and the predicted feature data of the target item; if the target item is determined to be a non-core item according to the item type of the target item, then select a supply quantity prediction model for the target item from preset supply quantity prediction models.
[0047] It should be understood that Figure 1 The number of servers 101, networks 102 and clients 103 is merely illustrative, and any number of terminal devices, networks and servers may be provided according to actual needs.
[0048] In order to enable ordinary persons in the art to better understand the technical solution of the present disclosure, the technical solution of determining the supply quantity prediction model of the embodiment of the present disclosure will be described in more detail below with reference to the accompanying drawings and embodiments.
[0049] Figure 2 is a flow chart of a method for determining a supply quantity forecasting model according to an exemplary embodiment. Figure 2 , this method is applied to Figure 1 The server shown in the figure specifically includes the following steps.
[0050] Step S210: Acquire historical data of the target item and predicted feature data of the target item.
[0051] The target item can be understood as the item for which the supply forecasting model needs to be predicted. The target item can be an item displayed on the e-commerce platform, which can be a physical item such as a computer, a mobile phone, etc., or a virtual item such as equipment and weapons in online games.
[0052] The historical data of the target item includes the historical sales data of the target item, such as the historical sales data of the past 7 days, and the historical sales data of the past 14 days. The historical data of the target item also includes the historical characteristic data of the target item. Among them, the characteristic data of the target item includes the activity information of the target item, such as promotional activities, holiday activities, etc., and also includes price and traffic. The historical characteristic data of the target item may include the historical activities, historical prices and historical traffic of the target item. The predicted characteristic data of the target item can be understood as the characteristic data of the target item when determining the supply forecast model, and specifically may include the activities, prices and traffic of the target item when determining the supply forecast model.
[0053] Step S220: classify the target object according to the historical data of the target object to obtain the object type of the target object.
[0054] In this step, the target items can be classified according to the historical data of the target items to obtain the item type of the target items. For example, the target items can be classified into best-selling items and non-best-selling items according to the historical sales data of the target items, or the target items can be classified into stable demand items and fluctuating demand items according to the historical sales data of the target items, or the target items can be classified into price-sensitive items and price-insensitive items according to the historical price and historical sales data of the target items.
[0055] Step S230: if the target item is determined to be a core item according to the item type of the target item, a supply quantity prediction model of the target item is generated according to the historical data of the target item and the prediction feature data of the target item.
[0056] Step S240: If the target item is determined to be a non-core item according to the item type of the target item, a supply quantity prediction model of the target item is selected from preset supply quantity prediction models.
[0057] After obtaining the item type of the target item, the target item can be determined as a core item or a non-core item according to the item type. If the target item is determined to be a core item, it means that the target item is relatively important, so a supply forecasting model for the target item can be generated based on the historical data and forecasting feature data of the target item. In this way, the generated supply forecasting model for the target item has a higher accuracy, thereby improving the forecasting effect of the supply forecasting model.
[0058] If the target item is determined to be a non-core item, it means that the target item is relatively unimportant, so a suitable model can be directly selected from the preset supply forecasting models as the supply forecasting model of the target item. In this way, the supply forecasting model of the target item can be efficiently determined, thereby ensuring the operating efficiency of the entire e-commerce platform.
[0059] The method for determining the supply forecast model of the disclosed embodiment identifies the item type of the target item based on the historical data of the target item, and then if the target item is judged to be a core item based on the item type, a supply forecast model is generated based on the historical data and forecast feature data of the target item, and if the target item is judged to be a non-core item based on the item type, the supply forecast model of the target item is directly selected from the preset supply forecast model. In this way, different strategies are used to generate supply forecast models for core items and non-core items to avoid generating a single forecast model, which can be applied to complex e-commerce supply chain scenarios; and, if the target item is a core item, a supply forecast model of the target item is generated based on the information of the target item, so that the accuracy of the supply forecast model is higher, thereby improving the forecast effect of the supply forecast model; and, if the target item is a non-core item, the supply forecast model is directly selected from the preset model, which can efficiently determine the supply forecast model and ensure the operating efficiency of the entire e-commerce platform.
[0060] In an optional embodiment of the present disclosure, the method for determining the supply quantity prediction model further includes: determining an item stratification index system; and constructing an item stratification decision tree based on the item stratification index system. In this way, the target items can be classified according to the constructed item stratification decision tree to obtain the item type of the target item, and then the supply quantity prediction model of the target item can be generated according to the item type, or a suitable supply quantity prediction model can be selected from the preset supply quantity prediction models.
[0061] The item stratification indicator system includes three-layer classification scenarios and indicator parameters under each layer of classification scenarios. Among them, the three-layer classification scenarios include item sales scenarios, item stability scenarios, and item field fluctuation scenarios. The indicator parameters under the item sales scenario include the historical sales mean, the smoothed item sales, and the average interval of non-zero demand. The indicator parameters under the item stability scenario include the peak sales ratio and the relevant data of non-zero demand. The indicator parameters under the item field fluctuation scenario include price fluctuation data, the relationship between item quantity and price, the relationship between item flow and flow mean, and the flow ratio.
[0062] Specifically, the historical sales mean refers to the average sales of items over a period of time, such as the historical 7-day sales mean, the historical 14-day sales mean, and the historical 28-day sales mean; the smoothed sales of items refer to the sales data after the outliers in the sales of items are removed, such as the abnormal peaks in the sales of items are removed; the average interval of non-zero demand refers to the average of the intervals between two non-zero sales days. The peak sales ratio is the sales ratio of items over a period of time, such as the top 3 sales ratio in the past 28 days, that is, the sales ratio of the top 3 sales days in the sales of items in the past 28 days to the total sales; the relevant data of non-zero demand refers to the data obtained by processing non-zero sales, such as the (standard deviation / mean)^2 of non-zero sales, which can be expressed by cv2, that is, the mean and standard deviation of non-zero sales are calculated, the ratio of the mean to the standard deviation is calculated, and then the square value is calculated. Price fluctuation data refers to the fluctuation of item prices over a period of time, such as the fluctuation of item prices in the past 28 days; item quantity-price relationship refers to the relationship between item sales and price; the relationship between item traffic and traffic average can be the multiple of the item traffic being higher than the traffic average; traffic share can be the traffic share of an item over a period of time, such as the top 3 traffic share in the past 28 days, that is, the proportion of traffic on the three days with the highest traffic in the past 28 days to the total traffic.
[0063] The item hierarchical decision tree is used to classify items to obtain the item type of the items. In the embodiment of the present disclosure, the item hierarchical decision tree may include three layers. The first layer is to classify items into best-selling items and non-best-selling items based on the sales model, where non-best-selling items can also be called long-tail items. Specifically, the items can be divided according to the historical sales volume of the items and the average interval of the non-zero demand of the items. For example, if the historical 28-day sales volume of the item is greater than the preset sales volume threshold, and the average interval of the non-zero demand of the item is less than or equal to the preset interval threshold, the item is a best-selling item, otherwise, the item is a non-best-selling item.
[0064] The second layer is to divide items into stable items and fluctuating items based on demand stability. Specifically, items can be divided according to the cv2 of the item and the sales volume ratio of the item. For example, for items with best-selling items in the first layer, if the cv2 of the item is less than or equal to the first preset cv2 threshold, and the sales volume ratio of the item is less than or equal to the first preset sales volume ratio threshold, then the second layer of the item is a stable item, otherwise, the second layer of the item is a fluctuating item; for items with non-best-selling items in the first layer, if the cv2 of the item is less than or equal to the second preset cv2 threshold, and the sales volume ratio of the item is less than or equal to the second preset sales volume ratio threshold, then the second layer of the item is a stable item, otherwise, the second layer of the item is a fluctuating item.
[0065] The third layer is to divide items into sensitive items and non-sensitive items based on sales sensitivity. Specifically, items can be divided according to price elasticity data and traffic elasticity data. Furthermore, sensitive items can include price-sensitive items, activity-sensitive items, and price-activity-sensitive items. Among them, price-sensitive items refer to items with high price sensitivity, and price sensitivity can measure the degree to which the price of the item drives the user to buy the item; activity-sensitive items refer to items with high activity sensitivity, and activity sensitivity can measure the degree to which the item activity drives the user to buy the item; price-activity-sensitive items refer to items with high price sensitivity and activity sensitivity, which can measure the degree to which the price of the item and the item activity drive the user to buy the item.
[0066] Figure 3 FIG. 1 is a schematic diagram of a structure of a hierarchical decision tree for items constructed according to an exemplary embodiment. Figure 3 As shown, sku represents the number of items, adi represents the average interval of non-zero demand for items, sale-28 represents the average sales volume of items in the past 28 days, cv2 represents the (standard deviation / mean)^2 of non-zero sales volume of items, top-ratio represents the sales volume share of items, price-r2 represents price elasticity, and pv-ratio represents traffic elasticity. Figure 3 In the data set, 957165 items are classified. In the first layer, the items are classified into best-selling items and non-best-selling items according to the non-zero demand interval of the items and the average sales volume of the items in the past 28 days. In the second layer, the best-selling items and non-best-selling items are classified according to cv2 and top-ratio respectively. The best-selling items are divided into fluctuating items and stable items, and the non-best-selling items are divided into fluctuating items and stable items. In the third layer, the items are classified according to price-r2 and pv-ratio. The best-selling items in the first layer and stable items in the second layer are divided into price-sensitive items, activity-sensitive items, price-activity-sensitive items, and non-sensitive items.
[0067] In the disclosed embodiment, the constructed hierarchical decision tree of items can be used to classify items to obtain item types, and then core items and non-core items can be determined according to the item types. Among them, core items can be understood as items with a large sales ratio. For core items, a supply forecast model of the items can be generated, thereby improving the accuracy of the model and the accuracy of supply forecast; non-core items can be understood as items with a small sales ratio. For non-core items, a suitable model can be directly selected from the preset supply forecast model, so that the supply forecast model can be efficiently obtained, thereby ensuring the overall operating efficiency.
[0068] Figure 4The present invention is a process diagram showing a method of generating a supply quantity prediction model of a target item when the target item is a core item according to an exemplary embodiment. Figure 4 The specific steps of generating a supply quantity prediction model for a target item are shown.
[0069] exist Figure 4 In the embodiment, the above Figure 2 Step S230 in the embodiment may further include the following steps.
[0070] In step S231, if the first-level classification of the target item is a best-selling item and the second-level classification is a stable item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a sensitive item, the target item is determined to be a core item.
[0071] In step S232, based on the reinforcement learning model, reinforcement learning is performed on the historical data of the target item and the predicted feature data of the target item to generate a supply quantity prediction model of the target item.
[0072] If the target item is a stable item among best-selling items, or the target item is a fluctuation-sensitive item among best-selling items, the target item is confirmed to be a core item, and then a supply quantity prediction model of the target item is generated based on the reinforcement learning model.
[0073] The reinforcement learning model (RL) is one of the fields of machine learning. Inspired by behavioral psychology, it focuses on how agents take different actions in the environment to maximize cumulative rewards. Reinforcement learning is mainly composed of agents, environments, states, actions, and rewards. After the agent performs an action, the environment will switch to a new state, and the environment will give a reward signal (positive reward or negative reward) for the new state. Subsequently, the agent performs new actions according to a certain strategy based on the new state and the reward fed back by the environment. The above process is the way in which the agent and the environment interact through state, action, and reward. Through reinforcement learning, the agent can know what state it is in and what actions it should take to get the maximum reward. Reinforcement learning is also known as the machine learning method of general artificial intelligence.
[0074] In an optional embodiment of the present disclosure, step S232 performs reinforcement learning on the historical data of the target item and the predicted feature data of the target item based on the reinforcement learning model to generate a supply prediction model for the target item, which may include: inputting the historical data of the target item and the predicted feature data of the target item into a pre-trained model of the reinforcement learning model, and outputting the weight of each alternative model in one or more alternative models; and performing weighted summation of the weights of each alternative model with each alternative model to obtain a supply prediction model for the target item.
[0075] Furthermore, the method may also include: using the supply prediction model of the target item to obtain the predicted supply of the target item, the predicted turnover of the target item and the predicted inventory of the target item; determining the predicted reward value according to the predicted supply of the target item, determining the turnover reward value according to the predicted turnover of the target item, and determining the inventory reward value according to the predicted inventory of the target item; summing the predicted reward value, the cycle reward value and the inventory reward value to obtain the target reward value, and using the target reward value to optimize the weights of each alternative model; optimizing the supply prediction model of the target item according to the optimized weights of each alternative model.
[0076] Figure 5 is a schematic diagram of the structure of a reinforcement learning model according to an exemplary embodiment. Figure 5 As shown, the reinforcement learning model includes a pre-training model and a reinforcement learning optimization part.
[0077] Input the historical data of the target item and the predicted feature data of the target item into the pre-trained model part for prediction, and output the action evaluation, that is, output the weights of each candidate model, which can also be called the probability of each candidate model. The candidate model can be a prediction model, such as the prediction model obtained by the xgboost algorithm. Assuming there are N candidate models, output the weights of these N candidate models (w1, w2, ..., w N ).
[0078] The key points of the reinforcement learning optimization part of the reinforcement learning model are the dynamic decision prediction function and the reward function. Among them, the dynamic decision function is specifically expressed as follows:
[0079] represents the forecast of the supply forecasting model, Represents the prediction of the alternative model, and the weights of each alternative model are weighted with each alternative model to obtain the supply prediction model. The specific expression of the reward function is as follows:
[0080]
[0081] r t Indicates the target reward, Represents the reward for the model’s prediction accuracy, Indicates the reward for turnover, Rewards that represent inventory.
[0082] In the disclosed embodiment, after the historical data and predicted feature data of the target item are input into the pre-trained model of the reinforcement learning model, the weights of each candidate model are output. Through the reinforcement learning optimization part of the reinforcement learning model, based on the dynamic decision function, the weights of each candidate model are weighted summed with each candidate model to obtain the supply forecast model.
[0083] After obtaining the supply forecast model, the supply forecast model is used to calculate the predicted supply, predicted turnover and predicted inventory of the target item, and then the predicted reward value, turnover reward value and inventory reward value of the supply forecast model are calculated, and the predicted reward value, turnover reward value and inventory reward value are summed to obtain the target reward value of the supply forecast model. Then, the prediction direction of the pre-trained model is known according to the target reward value, that is, the weights of each candidate model output by the pre-trained model are adjusted using the target reward value.
[0084] In this way, the weights of the adjusted alternative models can be added to the alternative models to obtain a new supply forecast model. Then, the new supply forecast model is used to calculate a new target reward value, and then the weights of the alternative models are adjusted using the new target reward value. Then, the supply forecast model is updated continuously until the calculated target reward value is greater than the preset reward threshold, and the learning is stopped to obtain the supply forecast model of the target item. Alternatively, the learning is stopped until the number of iterations reaches the preset number of iterations, and the supply forecast model of the target item is obtained.
[0085] In the disclosed embodiment, if the target item is determined to be a core item based on the item type, a supply forecasting model can be generated based on the reinforcement learning model and the historical data and predicted feature data of the target item. The accuracy of the supply forecasting model obtained in this way is high, which improves the model prediction results. In addition, the turnover and inventory are combined in the reward function, that is, the downstream indicators are considered in the process of generating the supply forecasting model, so that the generated supply forecasting model is combined with the supply scenario, which can meet the downstream replenishment needs and also consider the downstream turnover rate and spot rate.
[0086] Figure 6 The present invention is a process diagram showing a method of selecting a supply quantity prediction model of a target item when the target item is a non-core item according to an exemplary embodiment. Figure 6 The specific steps of selecting a supply quantity prediction model for a target item are shown.
[0087] exist Figure 6 In the embodiment, the above Figure 2Step S240 in the embodiment may further include the following steps.
[0088] In step S241, if the first-level classification of the target item is a non-best-selling item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a non-sensitive item, the target item is determined to be a non-core item.
[0089] In step S242, a supply quantity prediction model of the target item is selected from preset supply quantity prediction models.
[0090] If the target item is a non-best-selling item, or the target item is a non-volatile item among best-selling items, the target item is confirmed to be a non-core item, and then a suitable model is selected from the preset supply forecasting models as the supply forecasting model of the target item. The preset supply forecasting models include a low supply model, a mean supply model, and an efficient statistical model.
[0091] The low supply model can be understood as a minimum inventory model, that is, the minimum inventory is set according to business needs, and the predicted supply is the set minimum inventory. Specifically, it is as follows:
[0092] y pred =m
[0093] y pred is the predicted supply quantity, and m is the minimum stock quantity set according to the business. In an optional embodiment of the present disclosure, when the target item is a non-core item, if a low supply quantity model is selected as the supply quantity prediction model of the target item, then based on the low supply quantity model, the target supply quantity of the target item is predicted to be a preset supply quantity threshold.
[0094] The mean supply model can be understood as a model set according to the mean of historical sales, that is, the mean of historical sales is calculated, and the predicted supply is the calculated mean, which is specifically expressed as follows:
[0095]
[0096] y pred is the predicted supply, n is the number of historical sales days, y i In an optional embodiment of the present disclosure, when the target item is a non-core item, if the mean supply model is selected as the supply prediction model of the target item, the target supply of the target item is predicted to be the mean of the historical sales of the target item based on the mean supply model.
[0097] The efficient statistical model is a model set based on historical sales and historical predicted sales. Among them, historical sales are real sales, and historical predicted sales are predicted sales corresponding to historical sales, such as historical 7-day sales and historical 7-day predicted sales. You can set the weight value of historical sales and historical predicted sales, and then add the set weight value to the historical sales and historical predicted sales. The weighted value obtained is the predicted supply, which is specifically expressed as follows:
[0098]
[0099] y pred is the predicted supply, y k For historical sales, is the historical predicted sales volume, and α is the set weight value. In an optional embodiment of the present disclosure, when the target item is a non-core item, if the efficient statistical model is selected as the supply prediction model of the target item, the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume are obtained from the historical data of the target item, and then based on the efficient statistical model, the target supply volume of the target item is predicted according to the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume.
[0100] In the disclosed embodiment, if the target item is determined to be a non-core item based on the item type, the supply forecast model of the target item can be directly selected from the preset supply forecast model, so that the supply forecast model can be efficiently determined to ensure the overall operating efficiency. In addition, the supply forecast model is set to include a low supply model, an average supply model, and an efficient model, providing a variety of selectable models to meet the various needs of complex e-commerce scenarios.
[0101] Figure 7 FIG. 1 is a process diagram of determining a supply quantity forecasting model according to an exemplary embodiment. Figure 7 As shown, the identification, historical data and predicted feature data of the item are input, and then the items are grouped. The items are divided into best-selling and non-best-selling types in terms of sales mode, the items are divided into stable and fluctuating types in terms of demand stability, and the items are divided into price-sensitive, activity-sensitive, price-activity-sensitive and non-sensitive types in terms of sales sensitivity. After the items are classified, core items and non-core items are obtained according to the item type. Specifically, non-best-selling items and fluctuation-insensitive items among best-selling items are non-core items, and stable items among best-selling items and fluctuation-sensitive items among best-selling items are core items. For non-core items, the supply prediction model of the item is selected from the preset low supply model, mean supply model and efficient statistical model; for core items, reinforcement learning is performed on the historical data and predicted feature data of the item based on the reinforcement learning model to obtain the supply prediction model of the item.
[0102] Figure 8FIG. 1 is a block diagram of an apparatus for determining a supply quantity prediction model according to an exemplary embodiment. Figure 8 As shown, the device 800 for determining a supply quantity prediction model includes: an acquisition module 810 , a classification module 820 and a model determination module 830 .
[0103] Among them, the acquisition module 810 can be used to: acquire the historical data of the target item and the predicted characteristic data of the target item; the classification module 820 can be used to: classify the target item according to the historical data of the target item to obtain the item type of the target item; the model determination module 830 can be used to: if the target item is determined to be a core item according to the item type of the target item, then generate a supply quantity prediction model for the target item according to the historical data of the target item and the predicted characteristic data of the target item; and if the target item is determined to be a non-core item according to the item type of the target item, then select the supply quantity prediction model of the target item from the preset supply quantity prediction models.
[0104] In an optional embodiment of the present disclosure, the model determination module 830 may also be used to: determine the target item as a core item if the first-level classification is a best-selling item and the second-level classification is a stable item, or the first-level classification is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a sensitive item; based on the reinforcement learning model, perform reinforcement learning on the historical data of the target item and the predicted feature data of the target item to generate a supply prediction model for the target item.
[0105] In an optional embodiment of the present disclosure, the model determination module 830 can also be used to: input the historical data of the target item and the predicted feature data of the target item into a pre-trained model of the reinforcement learning model, and output the weight of each alternative model in one or more alternative models; perform weighted summation of the weights of each alternative model with each alternative model to obtain a supply prediction model for the target item.
[0106] In an optional embodiment of the present disclosure, the model determination module 830 may also be used to: utilize the supply quantity prediction model of the target item to obtain the predicted supply quantity of the target item, the predicted turnover quantity of the target item, and the predicted inventory quantity of the target item; determine the predicted reward value based on the predicted supply quantity of the target item, determine the turnover reward value based on the predicted turnover quantity of the target item, and determine the inventory reward value based on the predicted inventory quantity of the target item; sum the predicted reward value, the cycle reward value, and the inventory reward value to obtain the target reward value, and utilize the target reward value to optimize the weights of each alternative model; optimize the supply quantity prediction model of the target item based on the optimized weights of each alternative model.
[0107] In an optional embodiment of the present disclosure, the model determination module 830 may also be used to: determine that the target item is a non-core item if the first-level classification of the target item is a non-best-selling item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a non-sensitive item; select a supply volume forecast model for the target item from preset supply volume forecast models, and the preset supply volume forecast models include a low supply volume model, a mean supply volume model, and an efficient statistical model.
[0108] In an optional embodiment of the present disclosure, Figure 8 The device shown also includes a supply quantity determination module 840, which can be used to: if a low supply quantity model is selected as the supply quantity prediction model of the target item, then based on the low supply quantity model, the target supply quantity of the target item is predicted to be a preset supply quantity threshold; if the mean supply quantity model is selected as the supply quantity prediction model of the target item, then based on the mean supply quantity model, the target supply quantity of the target item is predicted to be the mean of the historical sales volume of the target item; if the efficient statistical model is selected as the supply quantity prediction model of the target item, the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume are obtained from the historical data of the target item, and then based on the efficient statistical model, the target supply quantity of the target item is predicted according to the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume.
[0109] In an optional embodiment of the present disclosure, Figure 8 The device shown also includes a decision tree construction module 850, which can be used to: determine an item stratification index system, the item stratification index system includes three-layer classification scenarios and index parameters under each layer of classification scenarios; based on the item stratification index system, construct an item stratification decision tree; wherein the item stratification decision tree is used to classify items to obtain item types; the first layer of the item stratification decision tree divides items into best-selling items and non-best-selling items, the second layer of the item stratification decision tree divides items into stable items and fluctuating items, and the third layer of the item stratification decision tree divides items into sensitive items and non-sensitive items.
[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0111] Fig. 9 is a structural block diagram of an electronic device according to an exemplary embodiment. Fig. 9 hereinafter describes an electronic device 900 according to such an embodiment of the present disclosure. Fig. 9 The electronic device 900 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0112] like Fig. 9As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
[0113] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 2 Follow the steps shown in .
[0114] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 921 and a cache storage unit 922 , and may further include a read-only storage unit (ROM) 923 .
[0115] The storage unit 920 may also include a program / utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0116] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0117] The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and may communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0118] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.
[0119] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the above instructions can be executed by a processor of the device to complete the above method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0120] In an exemplary embodiment, a computer program product is also provided, including a computer program and instructions. When the computer program and the instructions are executed by a processor, the online file processing method in the above embodiment is implemented.
[0121] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0122] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for determining a supply forecast model, characterized in that: include: Obtaining historical data of the target item and predicted feature data of the target item; Classifying the target object according to the historical data of the target object to obtain the object type of the target object; If the target item is determined to be a core item according to the item type of the target item, a supply quantity prediction model of the target item is generated according to the historical data of the target item and the predicted characteristic data of the target item; If the target item is determined to be a non-core item according to the item type of the target item, a supply quantity prediction model of the target item is selected from preset supply quantity prediction models.
2. The method according to claim 1, characterized in that If the target item is determined to be a core item according to the item type of the target item, a supply quantity prediction model of the target item is generated according to the historical data of the target item and the predicted characteristic data of the target item, including: If the first level classification of the target item is a best-selling item, and the second level classification is a stable item, or the first level classification of the target item is a best-selling item, the second level classification is a fluctuating item, and the third level classification is a sensitive item, then the target item is determined to be a core item; Based on the reinforcement learning model, reinforcement learning is performed on the historical data of the target item and the predicted feature data of the target item to generate a supply quantity prediction model of the target item.
3. The method according to claim 2, characterized in that The reinforcement learning model is used to perform reinforcement learning on the historical data of the target item and the predicted feature data of the target item to generate a supply quantity prediction model of the target item, including: Inputting the historical data of the target item and the predicted feature data of the target item into a pre-trained model of the reinforcement learning model, and outputting the weight of each candidate model in one or more candidate models; The weights of the various candidate models are weighted and summed with the various candidate models to obtain a supply quantity prediction model for the target item.
4. The method according to claim 3, characterized in that: The method further comprises: Using the supply quantity prediction model of the target item, obtaining the predicted supply quantity of the target item, the predicted turnover quantity of the target item, and the predicted inventory quantity of the target item; Determining a predicted reward value according to the predicted supply of the target item, determining a turnover reward value according to the predicted turnover of the target item, and determining an inventory reward value according to the predicted inventory of the target item; The predicted reward value, the period reward value and the inventory reward value are summed to obtain a target reward value, and the weights of the candidate models are optimized using the target reward value; The supply quantity prediction model of the target item is optimized according to the optimized weights of the candidate models.
5. The method according to claim 1, characterized in that: If the target item is determined to be a non-core item according to the item type of the target item, selecting a supply quantity prediction model of the target item from a preset supply quantity prediction model includes: If the first-level classification of the target item is a non-best-selling item, or the first-level classification of the target item is a best-selling item, the second-level classification is a fluctuating item, and the third-level classification is a non-sensitive item, then the target item is determined to be a non-core item; A supply quantity prediction model of the target item is selected from the preset supply quantity prediction models, wherein the preset supply quantity prediction models include a low supply quantity model, a mean supply quantity model, and an efficient statistical model.
6. The method according to claim 5, characterized in that The method further comprises: If the low supply quantity model is selected as the supply quantity prediction model of the target item, then based on the low supply quantity model, the target supply quantity of the target item is predicted to be a preset supply quantity threshold; If the mean supply quantity model is selected as the supply quantity prediction model of the target item, then based on the mean supply quantity model, the target supply quantity of the target item is predicted to be the historical sales mean of the target item; If the efficient statistical model is selected as the supply prediction model for the target item, the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume are obtained from the historical data of the target item. Then, based on the efficient statistical model, the target supply volume of the target item is predicted according to the historical sales volume of the target item and the predicted sales volume corresponding to the historical sales volume.
7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Determine an item stratification index system, wherein the item stratification index system includes three-layer classification scenarios and index parameters under each layer of classification scenarios; Based on the item stratification index system, an item stratification decision tree is constructed; wherein the item stratification decision tree is used to classify items to obtain the item types of the items; the first layer of the item stratification decision tree divides the items into best-selling items and non-best-selling items, the second layer of the item stratification decision tree divides the items into stable items and fluctuating items, and the third layer of the item stratification decision tree divides the items into sensitive items and non-sensitive items.
8. A device for determining a supply quantity forecast model, characterized in that: include: An acquisition module, used to acquire historical data of a target item and predicted characteristic data of the target item; A classification module, used to classify the target object according to the historical data of the target object to obtain the object type of the target object; A model determination module is used to generate a supply quantity prediction model for the target item based on historical data of the target item and predicted characteristic data of the target item if the target item is determined to be a core item based on the item type of the target item; and to select a supply quantity prediction model for the target item from preset supply quantity prediction models if the target item is determined to be a non-core item based on the item type of the target item.
9. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for determining a supply quantity prediction model according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the method for determining a supply quantity prediction model as described in any one of claims 1 to 7 by executing the executable instructions.
