Prediction system, prediction apparatus, prediction method, and program
The prediction system addresses the challenge of predicting irregular orders in business-to-business transactions by aggregating and complementing order data, calculating virtual inventory quantities, and generating a learning model to accurately forecast order probabilities, enhancing inventory management and user convenience.
Patent Information
- Application Number
- JP2023047092
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
AI Technical Summary
Existing order prediction models, such as those described in Patent Document 1, are inadequate for predicting irregular large-scale orders in business-to-business transactions, as they assume continuous order receipt, making it difficult to predict order timing and number in inter-company transactions.
A prediction system that includes an acquisition unit for order data, a supplementary unit to aggregate and complement order data, an order presence/absence determination unit, a virtual stock quantity calculation unit, an elapsed period calculation unit, and a learning unit to generate a model correlating supplementary order data with order presence, virtual inventory quantity statistics, and elapsed period statistics.
Enables accurate prediction of orders in inter-company transactions, improving user convenience and enabling better inventory management by predicting order probabilities and reducing inventory levels.
Smart Images

Figure 2024136111000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a prediction system, a prediction device, a prediction method, and a program. [Background technology]
[0002] Demand forecasting is a method for predicting daily orders for products that are sold continuously by analyzing sales records to business partners such as general consumers, thereby reducing excess inventory and opportunity losses. For example, Patent Document 1 discloses an order prediction model creation method for creating an order prediction model for predicting future order status of a product, the method including an acquisition step of acquiring order data indicating the order status of the product during a specified period in the past, a creation step of labeling the order data with the order status of the product after the specified period to create a learning dataset, and a learning step of performing machine learning based on the learning dataset to create an order prediction model. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-53055 Summary of the Invention [Problem to be solved by the invention]
[0004] In business-to-business transactions, orders are received irregularly due to the receipt of large quantities of orders in bulk. However, the technology described in Patent Document 1 is based on the premise that there is a continuous record of receiving orders, and therefore cannot be applied to cases where orders are received at irregular times or the number of orders is indefinite, such as large-volume orders received in bulk in business-to-business transactions. Therefore, Patent Document 1 cannot predict the timing or number of orders in business-to-business transactions, and therefore cannot forecast orders for purchasing or manufacturing goods. Thus, there has been a problem in that it is not possible to predict orders in business-to-business transactions.
[0005] The present invention has been made in consideration of the above-mentioned points, and an object of the present invention is to provide a prediction system, a prediction device, a prediction method, and a program capable of predicting orders in inter-company transactions. [Means for solving the problem]
[0006] The present invention has been made to solve the above-mentioned problems, and one aspect of the present invention is a prediction system comprising: an acquisition unit that acquires order data; a complementation unit that tallys up the number of orders for each specified period based on the order data and generates complementary order data that complements the number of orders for the specified period for which no order has been received; an order presence / absence determination unit that determines whether or not an order has been received for the specified period in the order data; a virtual inventory quantity calculation unit that calculates a virtual inventory quantity for each specified period based on the complementary order data for each specified period; an elapsed period calculation unit that calculates an elapsed period since the previous order for each specified period based on the complementary order data for each specified period; a virtual inventory quantity statistics calculation unit that calculates statistics of the virtual inventory quantity for each specified period; an elapsed period statistics calculation unit that calculates statistics of the elapsed period for each specified period; and a learning unit that generates a learning model that learns the correspondence between the complementary order data, the presence or absence of an order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period.
[0007] Moreover, one aspect of the present invention is a prediction device including an acquisition unit that acquires order data, a complementation unit that aggregates the number of orders for each specified period based on the order data and generates complementary order data that complements the number of orders for the specified period for which no order has been received, an order presence / absence determination unit that determines whether or not an order has been received for each specified period in the order data, a virtual inventory quantity calculation unit that calculates a virtual inventory quantity for each specified period based on the complementary order data for each specified period, an elapsed period calculation unit that calculates an elapsed period since the previous order for each specified period based on the complementary order data for each specified period, a virtual inventory quantity statistics calculation unit that calculates statistics of the virtual inventory quantity for each specified period, an elapsed period statistics calculation unit that calculates statistics of the elapsed period for each specified period, and a learning unit that generates a learning model that learns the correspondence between the complementary order data, the presence or absence of an order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period.
[0008] Moreover, one aspect of the present invention is a prediction method executed by a computer, the prediction method including: an acquisition process for acquiring order data; a complementation process for aggregating the number of orders for each specified period based on the order data, and generating complementary order data by complementing the number of orders for the specified period for which no order has been received; an order presence / absence determination process for determining whether or not an order has been received for each specified period in the order data; a virtual inventory quantity calculation process for calculating a virtual inventory quantity for each specified period based on the complementary order data for each specified period; an elapsed period calculation process for calculating an elapsed period since the previous order for each specified period based on the complementary order data for each specified period; a virtual inventory quantity statistics calculation process for calculating statistics of the virtual inventory quantity for each specified period;
[0009] Moreover, one aspect of the present invention is a program for causing a computer to execute the following steps: an acquisition step of acquiring order data; a complementation step of aggregating the number of orders for each specified period based on the order data and generating complementary order data by complementing the number of orders for the specified period for which no order has been received; an order presence / absence determination step of determining whether or not an order has been received for each specified period in the order data; a virtual inventory quantity calculation step of calculating a virtual inventory quantity for each specified period based on the complementary order data for each specified period; an elapsed period calculation step of calculating an elapsed period since the previous order for each specified period based on the complementary order data for each specified period; a virtual inventory quantity statistics calculation step of calculating statistics of the virtual inventory quantity for each specified period; Effect of the Invention
[0010] According to the present invention, it is possible to predict orders in business-to-business transactions. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram showing an example of a configuration of a prediction device according to an embodiment of the present invention. [Diagram 2] FIG. 11 is a sequence diagram showing an example of a flow of an order probability prediction model generation process of the prediction device according to the present embodiment. [Diagram 3] 13 is a flowchart illustrating an example of an order probability prediction model generation process of the prediction device according to the present embodiment. [Figure 4] 10 is a flowchart illustrating an example of data pre-processing in generating an order probability prediction model of the prediction device according to the present embodiment. [Diagram 5] FIG. 4 is a diagram illustrating an example of order data according to the embodiment. [Figure 6] FIG. 11 is a diagram illustrating an example of complementary order data according to the embodiment. [Figure 7] FIG. 13 is a diagram showing another example of complementary order data according to the embodiment. [Figure 8] FIG. 13 is a diagram showing another example of complementary order data according to the embodiment. [Figure 9] FIG. 13 is a diagram showing another example of complementary order data according to the embodiment. [Figure 10] FIG. 13 is a diagram showing another example of complementary order data according to the embodiment. [Figure 11] FIG. 13 is a diagram showing another example of complementary order data according to the embodiment. [Figure 12] FIG. 11 is a sequence diagram showing an example of a flow of an order probability prediction process of the prediction device according to the present embodiment. [Figure 13] 13 is a flowchart illustrating an example of an order probability prediction process of the prediction device according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] [Embodiment] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. <Configuration of prediction processing system> First, the configuration of the prediction system will be described. FIG. 1 is a block diagram showing an example of a configuration of a prediction device according to an embodiment of the present invention. The prediction system SYS is a prediction system that predicts the probability of receiving an order in business-to-business transactions, etc. Specifically, the prediction system SYS is a system that first generates a learning model for predicting the probability of receiving an order, and then predicts the probability of receiving an order using the generated learning model. As an example, in this embodiment, a case will be described in which the prediction system SYS is configured with one device, the prediction device 100.
[0013] The prediction system SYS will now be described in detail. The prediction system SYS acquires order data, aggregates the number of orders for each predetermined period based on the order data, and generates complementary order data that complements the number of orders for the predetermined period for which no order has been received. The prediction system also determines whether or not an order has been received for each predetermined period in the order data, and calculates the virtual inventory number for each predetermined period based on the complementary order data for each predetermined period. The prediction system SYS also calculates the elapsed period from the previous order for each predetermined period based on the complementary order data for each predetermined period, and calculates statistics of the virtual inventory number for each predetermined period. The prediction system SYS also calculates statistics of the elapsed period for each predetermined period, and generates a learning model that has learned the correspondence between the complementary order data, the presence or absence of an order, the statistics of the virtual inventory number, and the statistics of the elapsed period. The prediction system SYS then inputs the order data into the learning model to predict the probability of receiving an order for the predetermined period.
[0014] Here, the predetermined period is, for example, one week, two weeks, one month, three months, six months, one year, or the like. The elapsed period indicates the time that has passed since the most recent order, and is a period that corresponds to the predetermined period. For example, if the predetermined period is one week, two weeks, etc., the elapsed period is the number of elapsed weeks, and if the predetermined period is one month, three months, six months, etc., the elapsed period is the number of elapsed months. As an example, in this embodiment, a case will be described where the predetermined period is one week, and the elapsed period is the number of elapsed weeks corresponding to the number of weeks in the predetermined period.
[0015] <Functional configuration of prediction device 100> As shown in FIG. 1, the prediction device 100 includes a communication unit 11, a storage unit 12, an input unit 13, an output unit 14, and a control unit 15. The communication unit 11, the storage unit 12, the input unit 13, the output unit 14, and the control unit 15 are connected to each other via a bus.
[0016] <Communications Division 11> The communication unit 11 has a function of communicating with other devices via a network. The communication unit 11 outputs various information received from other devices to the control unit 15. The communication unit 11 also transmits information input from the control unit 15 to other devices.
[0017] <Storage section 12> The storage unit 12 has a function of storing various data, applications, and programs. The storage unit 12 also stores order data 121 and an order probability prediction model 122. The order data 121 is information in which the order date and the order quantity are associated with each product number. The order probability prediction model is a learning model generated by learning by the learning unit 153 described later. The order data and the order probability prediction model will be described later.
[0018] <Input section 13> The input unit 13 has a function of accepting input. The input unit 13 accepts information input by a user U through an input device such as a mouse, a keyboard, or a touch panel that is provided as hardware in the prediction device 100. The input unit 13 outputs a signal according to the input to the control unit 15.
[0019] <Output section 14> The output unit 14 has a function of outputting various information. The output unit 14 is realized by, for example, a display device such as a display or a touch panel, or an audio output device such as a speaker, which are provided as hardware in the prediction device 100. The output unit 14 outputs, for example, an image or a sound under the control of the control unit 15.
[0020] <Control unit 15> The control unit 15 has a function of controlling the overall operation of the prediction device 100. The control unit 15 is realized, for example, by causing a CPU (Central Processing Unit) provided as hardware in the prediction device 100 to execute a program stored in the storage unit 12.
[0021] The processing of the control unit 15 will now be described in more detail. The control unit 15 includes an order data acquisition unit 151, a data processing unit 152, a learning unit 153, and a prediction unit 154.
[0022] <Order data acquisition unit 151> The order data acquisition unit 151 acquires the order data. Specifically, the order data acquisition unit 151 reads out the order data stored in the storage unit 12 to acquire the order data. The order data may be stored in advance in the memory unit 12, or may be obtained by accepting input of the order data from another device or user U via the communication unit 11 or the input unit 13.
[0023] <Data Processing Unit 152> The data processing unit 152 performs various data processes on the order data acquired by the order data acquiring unit 151 . The data processing unit 152 is composed of an unordered data complementation unit 1521, an inventory decrease rate calculation unit 1522, a virtual inventory quantity calculation unit 1523, an elapsed week calculation unit 1524, a virtual inventory quantity statistics calculation unit 1525, and an elapsed week statistics calculation unit 1526.
[0024] <Unordered Data Completion Unit 1521> The unordered data complement unit 1521 tally up the number of orders for each product (product number) for a given period, for example, for each week, based on the order data acquired by the order data acquisition unit 151. The unordered data complementing unit 1521 determines whether or not there are orders for each predetermined period based on the total number of orders for each predetermined period. The unordered data complementing unit 1521 assigns a flag indicating that there are orders, for example, a flag "1", to a week in which there are orders. The unordered data complementing unit 1521 assigns a flag indicating that there are no orders, for example, a flag "0", to a week in which there are no orders. Then, the unreceived data complementing unit 1521 generates complementary received order data by complementing the number of orders for a given period, for example, a week, for which the flag is "0" with "0".
[0025] <Inventory quantity decrease rate calculation unit 1522> The inventory quantity depletion rate calculation unit 1522 calculates the inventory depletion rate based on the complementary order data. Specifically, the inventory quantity depletion rate calculation unit 1522 extracts the total order quantity for each product in the complementary order data and the order period corresponding to the total order quantity. The inventory quantity depletion rate calculation unit 1522 divides the total order quantity by the order period to calculate the average order quantity for each predetermined period as the inventory depletion rate. The inventory quantity depletion rate calculation unit 1522 generates complementary order data including the calculated inventory depletion rate.
[0026] <Virtual inventory quantity calculation unit 1523> The virtual stock quantity calculation unit 1523 calculates the virtual stock quantity based on the complementary order data. The virtual stock quantity calculation unit 1523 calculates the virtual stock quantity for each product and each customer by subtracting the stock decrease rate calculated by the stock quantity decrease rate calculation unit 1522 from the initial stock quantity set for each product and each customer. The virtual stock quantity calculation unit 1523 generates complementary order data including the calculated virtual stock quantity.
[0027] <Elapsed week calculation unit 1524> The elapsed week calculation unit 1524 calculates the period, for example, the number of weeks, that have passed since the previous order based on the complementary order data. The elapsed week calculation unit 1524 generates complementary data that includes the calculated number of weeks that have passed.
[0028] <Virtual inventory quantity statistics calculation unit 1525> The virtual stock quantity statistics calculation unit 1525 calculates statistics of the virtual stock quantity. The statistics of the virtual stock quantity include a first statistic and a second statistic. The first statistical amount of the virtual inventory quantity is calculated by the following formula.
[0029] First statistic of virtual stock quantity = (Virtual stock quantity - Average virtual stock quantity) / Average virtual stock quantity ...Equation (1)
[0030] In addition, the second statistical amount of the virtual inventory quantity is calculated by the following formula.
[0031] Second statistic of virtual inventory quantity = (virtual inventory quantity - average of virtual inventory quantity) / standard deviation of virtual inventory quantity Equation (2)
[0032] The virtual stock quantity statistics calculation unit 1525 generates complementary order data including the calculated first statistics of the virtual stock quantity and the second statistics of the virtual stock.
[0033] <Elapsed week statistics calculation unit 1526> The elapsed week statistics calculation section 1526 calculates elapsed week statistics. The elapsed week statistics include a first statistic and a second statistic. The first statistic for elapsed weeks is calculated using the following formula:
[0034] First statistic of elapsed weeks = (elapsed weeks - average of elapsed weeks) / average of elapsed weeks ... Equation (3)
[0035] The second statistic for the elapsed week is calculated using the following formula:
[0036] Second statistic of elapsed weeks = (elapsed weeks - average of elapsed weeks) / standard deviation of elapsed weeks... Equation (4)
[0037] The elapsed week statistics calculation unit 1526 generates complementary order data including the calculated first statistic of the elapsed week and the second statistic of the elapsed week. The elapsed week statistics calculation unit 1526 outputs the generated complementary order data to the learning unit 153.
[0038] <Learning Section 153> The learning unit 153 generates a regression model by, for example, statistical analysis. Specifically, the learning unit 153 generates an order probability prediction model (learning model) that is learned using the complementary order data generated by the data processing unit 152. More specifically, the learning unit 153 generates a learning model that learns the correspondence between the complementary order data, the presence or absence of an order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period. The learning unit 153 may generate a regression model (learning model) by machine learning. Examples of machine learning techniques include SVR (support vector regression), random forest, and deep learning using a neural network.
[0039] The learning unit 153 generates a learning model by, for example, supervised learning. In supervised learning, the learning model is made to learn using a training dataset. The dataset is a set of explanatory variables that are input during learning, and a target variable that indicates the correct answer of the data that is output based on the input data. The learning unit 153 verifies the learning model constructed by training using a verification dataset. In this embodiment, the explanatory variables are the virtual stock quantity and elapsed weeks. The objective variable is the presence or absence of an order (order probability) for each order timing (order week). The learning unit 153 generates a trained model that has learned the correspondence between the virtual stock quantity and elapsed weeks and the order week. Note that instead of or in addition to the virtual stock quantity and elapsed weeks, statistics of the virtual stock quantity and statistics of the elapsed weeks may be used as explanatory variables. In this case, the order probability prediction model can be generalized.
[0040] The learning unit 153 stores the order probability prediction model generated by the learning in the storage unit 12.
[0041] <Prediction Section 154> The prediction unit 154 obtains the order probability prediction model from the storage unit 12. The prediction unit 154 predicts the order probability by inputting the order data into the order probability prediction model.
[0042] In the present embodiment, the case where learning is performed by the learning unit 153 and prediction is performed by the prediction unit 154 has been described, but the generation of the learning model by the learning unit 153 and the prediction by the prediction unit 154 may be realized by different devices. Furthermore, the generation of the learning model and the prediction of the order probability may be performed at different times.
[0043] Next, the flow of the order probability prediction model generation process in the prediction device 100 will be described.
[0044] FIG. 2 is a sequence diagram showing an example of the flow of an order probability prediction model generation process of the prediction device 100 according to this embodiment. In step ST101, the data processing unit 152 of the prediction device 100 receives a learning instruction from the user U. In step ST102, the data processing unit 152 of the prediction device 100 acquires the order data from the storage unit 12 via the order data acquisition unit 151.
[0045] In step ST103, the data processing unit 152 of the prediction device 100 performs data processing on the order data to generate complementary order data. In step ST104 , the data processing unit 152 of the prediction device 100 outputs the complementary order data to the learning unit 153 .
[0046] In step ST105, the learning unit 153 of the prediction device 100 learns based on the complementary order data and generates an order probability model. In step ST106, the learning unit 153 of the prediction device 100 stores the generated order probability prediction model in the storage unit 12.
[0047] The order probability prediction model generation process in the prediction device 100 will be described in more detail.
[0048] FIG. 3 is a flowchart showing an example of an order probability prediction model generation process of the prediction device 100 according to the present embodiment. In step S101 , the order data acquisition unit 151 of the prediction device 100 acquires the order data 121 from the storage unit 12 . In step S102, the data processing unit 152 of the prediction device 100 performs data processing (data pre-processing) on the order data to generate complementary order data. The data processing will be described later.
[0049] In step S103, the learning unit 153 of the prediction device 100 generates an order probability prediction model by learning using the complementary order data. In step S104, the learning unit 153 of the prediction device 100 stores the generated order probability prediction model in the storage unit 12.
[0050] Next, data processing by the data processing unit 152 of the prediction device 100 will be described.
[0051] FIG. 4 is a flowchart showing an example of data processing (step S103) in generating an order probability prediction model by the prediction device 100 according to this embodiment. In step S201, the unordered data complementation unit 1521 of the prediction device 100 counts up the number of orders per week for each product (product number) and for each customer, based on the order data acquired by the order data acquisition unit 151. In step S202, the unordered data complementing unit 1521 of the prediction device 100 generates complementary order data by complementing the number of orders for weeks without orders with "0".
[0052] In step S203, the unordered data complementing unit 1521 of the prediction device 100 determines whether or not there is an order for each week in the aggregated result of the number of orders for each week. The unordered data complementing unit 1521 assigns a flag indicating that there is an order, for example, a flag "1", to a week in which there is an order. The unordered data complementing unit 1521 also assigns a flag indicating that there is no order, for example, a flag "0", to a week in which there is no order. The unordered data complementing unit 1521 generates complementary order data with the flag assigned. In step S204, the inventory quantity decrease rate calculation unit 1522 of the prediction device 100 calculates the inventory quantity decrease rate based on the complementary order data. The inventory quantity decrease rate calculation unit 1522 generates complementary order data including the calculated inventory decrease rate.
[0053] In step S205, the virtual stock quantity calculation unit 1523 of the prediction device 100 calculates the virtual stock quantity based on the complementary order data. The virtual stock quantity calculation unit 1523 generates complementary order data including the calculated virtual stock quantity. In step S206, the elapsed week calculation unit 1524 of the prediction device 100 calculates the number of weeks that have passed since the immediately previous order based on the complementary order data. The elapsed week calculation unit 1524 generates complementary data that includes the calculated elapsed week.
[0054] In step S207, the virtual inventory quantity statistic calculation unit 1525 of the prediction device 100 calculates the statistics of the virtual inventory quantity using formulas (1) and (2). In addition, the elapsed week statistic calculation unit 1526 of the prediction device 100 calculates the elapsed week statistic using formulas (3) and (4). The virtual stock quantity statistics calculation unit 1525 generates complementary order data including the calculated first statistics of the elapsed week and the second statistics of the elapsed week. The elapsed week statistics calculation unit 1526 also generates complementary order data including the calculated first statistic of the elapsed week and the calculated second statistic of the elapsed week. The elapsed week statistics calculation unit 1526 outputs the generated complementary order data to the learning unit 153.
[0055] Next, the order data acquired by the prediction device 100 and the complementary order data generated by the prediction device 100 will be described. Fig. 5 is a diagram showing an example of the order data according to this embodiment, and Figs. 6 to 11 are diagrams showing examples of the complementary order data according to this embodiment.
[0056] 5, the order data is information in which a product number, an order date, and an order quantity are associated with each other. The illustrated example is order data for a certain customer. In the illustrated example, the order data includes two products, a product number "B12345" and a product number "A12345", which are associated with the order date and the order quantity.
[0057] When the data processing unit 152 of the prediction device 100 acquires the order data shown in FIG. 5, the data processing unit 152 performs data processing on the order data to generate complementary order data. Specifically, first, the unordered data complementing unit 1521 tally up the number of orders for a predetermined period, for example, for each week, for each product (product number) based on the order data shown in Fig. 5. The unordered data complementing unit 1521 also determines whether or not there are orders for each predetermined period based on the tally up of the number of orders for each predetermined period. The unordered data complementing unit 1521 assigns a flag indicating that there is an order, for example, a flag "1", to a week in which there is an order. The unordered data complementing unit 1521 assigns a flag indicating that there is no order, for example, a flag "0", to a week in which there is no order. Then, the unreceived data complementing unit 1521 generates complementary received order data by complementing the number of orders for a given period, for example, a week, for which the flag is "0" with "0". FIG. 6 shows an example of the supplementary received order data supplemented by the unordered data supplementing unit 1521 through the above-mentioned process.
[0058] Here, in the example shown in Fig. 6, the order date in Fig. 6 indicates the result of counting for each predetermined period, for example, each week. Also, the order in Fig. 6 indicates a flag indicating whether or not there is an order.
[0059] In this way, the complementary order data shown in Fig. 6, which is tabulated for each predetermined period, given a flag indicating whether or not there is an order, and the number of orders in weeks where no orders have been received is supplemented with "0", is extracted for each product number, for example, the product with product number "B12345", as shown in Fig. 7. The example shown in Fig. 7 is complementary order data that has been subjected to data processing for order data for a total of six weeks, namely, 7 / 4 week, 7 / 11 week, 7 / 18 week, 7 / 25 week, 8 / 1 week, and 8 / 8 week.
[0060] The inventory decrease rate calculation unit 1522 calculates the decrease rate of the inventory based on the complementary order data as shown in FIG. 7. Specifically, the inventory decrease rate calculation unit 1522 calculates the average order number per predetermined period, for example, 300, as the inventory decrease rate, based on the total order number, for example, 1800, of the product with product number "B12345" in the complementary order data and the order period corresponding to the total order number, for example, 6 weeks, by dividing the total order number by the order period. The inventory decrease rate calculation unit 1522 generates complementary order data including the calculated inventory decrease rate. The complementary order data by the inventory decrease rate calculation unit 1522 is generated as shown in FIG. 8.
[0061] The virtual stock quantity calculation unit 1523 calculates the virtual stock quantity based on the complementary order data shown in Fig. 8. The virtual stock quantity calculation unit 1523 calculates the virtual stock quantity by subtracting the stock decrease rate 300 calculated by the stock quantity decrease rate calculation unit 1522 from the initial stock quantity, for example, 100,000. The virtual stock quantity calculation unit 1523 generates complementary order data including the calculated virtual stock quantity. The complementary order data by the virtual stock quantity calculation unit 1523 is generated as shown in Fig. 9.
[0062] The elapsed week calculation unit 1524 calculates the period of time elapsed since the previous order, for example, the number of weeks elapsed, based on the complementary order data as shown in Fig. 9. The complementary order data generated by the elapsed week calculation unit 1524 is generated as shown in Fig. 10.
[0063] The virtual stock quantity statistics calculation unit 1525 and the elapsed week statistics calculation unit 1526 calculate the virtual stock quantity statistics and the elapsed week statistics using formulas (1) to (4) based on the complementary order data as shown in Fig. 10. The complementary order data by the virtual stock quantity statistics calculation unit 1525 and the elapsed week statistics calculation unit 1526 is generated as shown in Fig. 11.
[0064] The learning unit 153 generates an order probability prediction model that is learned based on the complementary order data as shown in FIG.
[0065] Next, the flow of the order probability prediction process of the prediction device 100 will be described.
[0066] FIG. 12 is a sequence diagram showing an example of the flow of an order probability prediction process by the prediction device 100 according to this embodiment. In step ST201, the data processing unit 152 of the prediction device 100 receives a prediction instruction from a user U. In step ST202, the data processing unit 152 of the prediction device 100 acquires the order data 121 for prediction from the storage unit 12 via the order data acquisition unit 151.
[0067] In step ST203, the data processing unit 152 of the prediction device 100 performs the same data processing as in steps S201 to S207 on the order data to generate complementary order data. In step ST204, the data processing unit 152 of the prediction device 100 outputs the complementary order data to the prediction unit 154.
[0068] In step ST205, the prediction unit 154 of the prediction device 100 inputs the complementary order data into the order probability prediction model read from the storage unit 12, thereby predicting the order probability. In step ST206, the prediction unit 154 of the prediction device 100 notifies the user U (user terminal) of the predicted order probability.
[0069] The order probability prediction process will now be described in more detail.
[0070] FIG. 13 is a flowchart showing an example of an order probability prediction process of the prediction device 100 according to this embodiment. In step S301, the order data acquisition unit 151 of the prediction device 100 acquires the order data 121 for prediction from the storage unit 12. In step S302, the data processing unit 152 of the prediction device 100 performs data processing (data pre-processing) similar to steps S201 to S207 on the order data to generate complementary order data. The data processing will be described later.
[0071] In step S303 , the prediction unit 154 of the prediction device 100 acquires the order probability prediction model 122 from the storage unit 12 . In step S304, the prediction unit 154 of the prediction device 100 inputs the complementary order data into the order probability prediction model, thereby outputting the order probability and performing order probability prediction.
[0072] As described above, the prediction system SYS according to this embodiment includes an acquisition unit (order data acquisition unit 151) that acquires order data, a complementation unit (unordered data complementation unit 1521) that tallyes the number of orders for each specified period based on the order data and generates complementary order data by complementing the number of orders for the specified period for which no order has been received, an order presence / absence determination unit (unordered data complementation unit 1521) that determines whether or not an order has been received for each specified period in the order data, a virtual inventory quantity calculation unit 1523 that calculates the virtual inventory quantity for each specified period based on the complementary order data for each specified period, an elapsed period calculation unit (elapsed week calculation unit 1524) that calculates the elapsed period from the previous order for each specified period based on the complementary order data for each specified period, a virtual inventory quantity statistics calculation unit 1525 that calculates statistics of the virtual inventory quantity for each specified period, an elapsed period statistics calculation unit (elapsed week statistics calculation unit 1526) that calculates statistics of the elapsed period for each specified period, and a learning unit 153 that generates a learning model that has learned the correspondence between the complementary order data, the presence or absence of an order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period.
[0073] This makes it possible to generate an order probability prediction model for predicting orders even in B2B transactions, such as bulk orders or irregular orders. Therefore, orders can be predicted in B2B transactions. Furthermore, predicting orders in B2B transactions can improve user convenience.
[0074] The prediction system SYS further includes a prediction unit 154 that predicts the order probability in a predetermined period by inputting the order data into a learning model.
[0075] This allows the company to suspend or increase production of products, etc. In addition, the prediction results can be used for sales to customers, etc.
[0076] In addition, the prediction system SYS further includes an inventory quantity decrease rate calculation unit 1522 that calculates the rate at which the inventory quantity decreases based on the complementary order data for each specified period, and a virtual inventory quantity calculation unit 1523 calculates the virtual inventory quantity for each specified period based on the complementary order data for each specified period and the rate at which the inventory quantity decreases.
[0077] This makes it possible to forecast orders even in business-to-business transactions, such as large bulk orders or irregular orders.
[0078] In addition, the virtual inventory quantity statistics calculation unit 1525 calculates a first statistic of the virtual inventory for each specified period and a second statistic of the virtual inventory for each specified period that is different from the first statistic of the virtual inventory, the elapsed period statistics calculation unit (elapsed week statistics calculation unit 1526) calculates a first statistic of the elapsed period for each specified period and a second statistic of the elapsed period for each specified period that is different from the first statistic of the elapsed period, and the learning unit 153 uses the first statistic and second statistic of the virtual inventory quantity as statistics of the virtual inventory quantity, and generates a learning model using the first statistic and second statistic of the elapsed period as statistics of the elapsed period.
[0079] This allows the prediction model to be generalized, improving the accuracy of order probability prediction. In addition, the amount of training data used for learning can be reduced, reducing the cost and time required for learning. This improves user convenience.
[0080] Although each embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes, etc. are possible within the scope that does not deviate from the gist of the present invention.
[0081] For example, in each of the above-described embodiments, an example configured using the prediction device 100 has been described, but one aspect of the present invention may be realized using a plurality of devices including another device capable of realizing a part of the prediction device 100.
[0082] The program that runs on the prediction device 100 in one aspect of the present invention may be a program that controls one or more processors such as a CPU (Central Processing Unit) to realize the functions shown in the above-mentioned embodiments and modifications related to one aspect of the present invention (a program that makes a computer function). The computer here also includes a quantum computer. The information handled by each of these devices is temporarily stored in a RAM (Random Access Memory) during processing, and then stored in various storage devices such as a flash memory or a HDD (Hard Disk Drive), and may be read, modified, or written by a CPU or the like as necessary.
[0083] A part or the whole of the prediction device 100 in each of the above-mentioned embodiments and modifications may be realized by a computer having one or more processors. In this case, the control function may be realized by recording a program for realizing the control function in a computer-readable recording medium, and reading and executing the program recorded in the recording medium into a computer system.
[0084] The term "computer system" used here refers to a computer system built into the prediction device 100, and includes hardware such as an OS and peripheral devices. Also, the term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into a computer system.
[0085] Furthermore, the term "computer-readable recording medium" may include a medium that dynamically stores a program for a short period of time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line, and a medium that stores a program for a certain period of time, such as a volatile memory inside a computer system that serves as a server or client in such a case. The above program may be one that realizes part of the above-mentioned functions, or may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system.
[0086] In addition, a part or all of the prediction device 100 in each of the above-mentioned embodiments and modifications may be realized as an LSI, which is typically an integrated circuit, or may be realized as a chip set. In addition, each functional block of the prediction device 100 in each of the above-mentioned embodiments and modifications may be individually chipped, or may be integrated into a chip in part or in whole. The integrated circuit method is not limited to LSI, and may be realized by a dedicated circuit and / or a general-purpose processor. In addition, when an integrated circuit technology that replaces LSI appears due to the progress of semiconductor technology, it is also possible to use an integrated circuit based on that technology.
[0087] Although the embodiments and modifications have been described above in detail with reference to the drawings as one aspect of the present invention, the specific configuration is not limited to the embodiments and modifications, and includes design changes within the scope of the gist of the present invention. In addition, one aspect of the present invention can be modified in various ways within the scope of the claims, and embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. In addition, configurations in which elements described in the above embodiments and modifications are replaced with elements that have the same effect are also included. [Explanation of symbols]
[0088] SYS Forecasting System 100 Prediction Device 11 Communications Department 12 Storage section 121 Order Data 122 Order Probability Prediction Model 13 Input section 14 Output section 15 Control section 151 Order Data Acquisition Department 152 Data Processing Unit 1521 Unordered Data Completion Department 1522 Stock quantity decrease rate calculation unit 1523 Virtual Stock Quantity Calculation Department 1524 Elapsed Week Calculation Unit 1525 Virtual inventory statistics calculation unit 1526 Elapsed Week Statistics Calculation Unit 153 Learning Department 154 Prediction Department
Claims
1. An acquisition unit that acquires order data; a complementing unit that aggregates the number of orders received for each predetermined period based on the order data and generates complementary order data by complementing the number of orders received for the predetermined period for which orders have not yet been received; an order presence / absence determination unit that determines whether an order has been received for each of the predetermined periods in the order data; a virtual inventory quantity calculation unit that calculates a virtual inventory quantity for each predetermined period based on the complementary order data for each predetermined period; an elapsed period calculation unit that calculates an elapsed period from a previous order for each predetermined period based on the complementary order data for each predetermined period; A virtual inventory quantity statistic calculation unit that calculates a statistic of the virtual inventory quantity for each predetermined period; an elapsed period statistic calculation unit that calculates the elapsed period statistic for each of the predetermined periods; a learning unit that generates a learning model that learns a correspondence relationship between the complementary order data, the presence or absence of the order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period; A prediction system comprising:
2. a prediction unit that predicts an order probability in the predetermined period by inputting the order data into the learning model; The prediction system of claim 1 further comprising:
3. an inventory reduction rate calculation unit that calculates a reduction rate of an inventory quantity based on the complementary order data for each predetermined period; Further equipped with The virtual inventory quantity calculation unit calculates the virtual inventory quantity for each predetermined period based on the supplementary order data for each predetermined period and the rate of decrease in the inventory quantity. The prediction system of claim 2 .
4. the virtual inventory quantity statistics calculation unit calculates a first statistic of the virtual inventory for each predetermined period and a second statistic of the virtual inventory for each predetermined period, the second statistic being different from the first statistic of the virtual inventory; the elapsed period statistic calculation unit calculates a first statistic of the elapsed period for each predetermined period and a second statistic of the elapsed period for each predetermined period, the second statistic being different from the first statistic of the elapsed period; The learning unit generates the learning model by using the first statistics and the second statistics of the virtual inventory quantity as statistics of the virtual inventory quantity, and by using the first statistics and the second statistics of the elapsed period as statistics of the elapsed period. The prediction system of claim 3 .
5. An acquisition unit that acquires order data; a complementing unit that aggregates the number of orders received for each predetermined period based on the order data and generates complementary order data by complementing the number of orders received for the predetermined period for which orders have not yet been received; an order presence / absence determination unit that determines whether an order has been received for each of the predetermined periods in the order data; a virtual inventory quantity calculation unit that calculates a virtual inventory quantity for each predetermined period based on the complementary order data for each predetermined period; an elapsed period calculation unit that calculates an elapsed period from a previous order for each predetermined period based on the complementary order data for each predetermined period; A virtual inventory quantity statistic calculation unit that calculates a statistic of the virtual inventory quantity for each predetermined period; an elapsed period statistic calculation unit that calculates the elapsed period statistic for each of the predetermined periods; a learning unit that generates a learning model that learns a correspondence relationship between the complementary order data, the presence or absence of the order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period; A prediction device comprising:
6. 1. A computer implemented prediction method comprising: An acquisition process for acquiring order data; a complementing step of aggregating the number of orders received for each predetermined period based on the order data, and generating complementary order data by complementing the number of orders received for the predetermined period for which orders have not yet been received; an order presence / absence determination step of determining whether or not an order has been received for each of the predetermined periods in the order data; a virtual inventory quantity calculation step of calculating a virtual inventory quantity for each predetermined period based on the supplementary order data for each predetermined period; an elapsed period calculation step of calculating an elapsed period from a previous order for each predetermined period based on the complementary order data for each predetermined period; a virtual inventory quantity statistics calculation step of calculating statistics of the virtual inventory quantity for each predetermined period; an elapsed period statistic calculation step of calculating a statistic of the elapsed period for each of the predetermined periods; a learning process for generating a learning model that learns a correspondence relationship between the complementary order data, the presence or absence of the order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period; A prediction method comprising:
7. On the computer, An acquisition step for acquiring order data; a complementing step of aggregating the number of orders received for each predetermined period based on the order data, and generating complementary order data by complementing the number of orders received for the predetermined period for which orders have not yet been received; an order presence / absence determination step for determining whether or not an order has been received for each of the predetermined periods in the order data; a virtual inventory quantity calculation step of calculating a virtual inventory quantity for each predetermined period based on the supplementary order data for each predetermined period; an elapsed period calculation step of calculating an elapsed period from a previous order for each predetermined period based on the complementary order data for each predetermined period; A virtual inventory quantity statistic calculation step of calculating a statistic of the virtual inventory quantity for each predetermined period; an elapsed period statistic calculation step of calculating a statistic of the elapsed period for each of the predetermined periods; a learning step of generating a learning model that learns a correspondence relationship between the complementary order data, the presence or absence of the order, the statistics of the virtual inventory quantity, and the statistics of the elapsed period; A program for executing the above.
Citation Information
Patent Citations
Order acceptance prediction model creation method, order acceptance prediction model creation device, order acceptance prediction method, and order acceptance prediction device
JP2022053055A
