# US 11,526,899 B2 · Systems and methods for dynamic demand sensing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 11,526,899 B2
- Document ID: US11526899B2
- Status: Granted
- Kind: B2
- Application number: 16/599,143
- Filed: 2019-10-11
- Published: 2021-04-15
- Granted: 2022-12-13
- Earliest claimed: 2019-10-11
- Assignees: Kinaxis Inc.
- Applicants: Kinaxis Inc.
- Inventors: Sebastien Ouellet; Zhen Lin; Christopher Wang; Chantal Bisson-Krol
- Web page: https://patentgrep.com/patent/US11526899B2

## CPC

- G06Q 30/0201: Market modelling; Market analysis; Collecting market data
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 18/217: {Validation; Performance evaluation; Active pattern learning techniques}
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- G06Q 30/0202: Market predictions or forecasting for commercial activities
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Systems and methods for dynamic demand sensing in a supply chain in which constantly-updated data is used to select a machine learning model or retrain a pre-selected machine learning model, for forecasting sales of a product at a specific location. The updated data includes product information and geographic information.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving, by a processor, a first forecast request;
training, by the processor, a plurality of machine learning models on a first portion of a data set;
validating, by the processor, a machine learning model on a second portion of the data set; and
retraining, by the processor, the machine learning model on a sum of the first portion and the second portion of the data set, the data set comprising processed historical data;
forecasting, by the processor, a forecast based on the first forecast request;
receiving, by the processor, a subsequent forecast request;
engaging, by the processor, in a machine learning model selection process when:
i) the data set has been updated by a new class of relevant signal data since a previous forecast request; or
ii) the data set has been updated by an amount of new relevant signal data beyond a first threshold since the previous forecast request; or
iii) the machine learning model has degraded;
and
retraining, by the processor, a previously-selected machine learning model when a time interval between successive forecast requests is greater than a second threshold.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the processed historical data comprises processed historical product data and processed historical location data.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein when the data set is updated by the new class of relevant signal data, the machine learning model selection process comprises:
training, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the processed historical data and a processed version of the new class of relevant signal data;
validating, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retraining by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein when the data set has been updated by the new relevant signal data beyond the first threshold, the machine learning model selection process comprises:
training, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the processed historical data and a processed version of the new relevant signal data;
validating, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retraining by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein after forecasting following receipt of the first forecast request, the method further comprises:
evaluating, by the processor, a forecast accuracy of the forecast against incoming processed historical product data; and
when the forecast accuracy falls below the second threshold,
training, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the incoming processed historical product data and the processed historical data;
validating, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retraining, by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the forecast accuracy is based on any one of: a Mean Absolute Percentage Error (MAPE); a Mean Absolute Scaled Error (MASE), a Mean Absolute Error (MAE), and a Weighted Mean Absolute Percentage Error (WMAPE).

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein when the time interval is beyond the second threshold, retraining the previously-selected machine learning model comprises:
retraining, by the processor, the previously-selected machine learning model on an expanded data set comprising new processed data collected during the time interval and the processed historical data.

### Claim 8

A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by a computer, cause the computer to:
receive, by a processor, a first forecast request;
train, by the processor, a plurality of machine learning models on a first portion of a data set;
validate, by the processor, a machine learning model on a second portion of the data set; and
retrain, by the processor, the machine learning model on a sum of the first portion and the second portion of the data set, the data set comprising processed historical data;
forecast, by the processor, a forecast based on the first forecast request;
receive, by the processor, a subsequent forecast request;
engage, by the processor, in a machine learning model selection process when:
i) the data set has been updated by a new class of relevant signal data since a previous forecast request; or
ii) the data set has been updated by an amount of new relevant signal data beyond the first threshold, since a previous forecast request; or
iii) the machine learning model has degraded;
and
retrain, by the processor, a previously-selected machine learning model when a time interval between successive forecast requests is greater than a second threshold.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, wherein the processed historical data comprises processed historical product data and processed historical location data.

### Claim 10 (depends on 8)

The computer-readable storage medium of claim 8, wherein when the data set is updated by the new class of relevant signal data, the instructions that when executed by a computer, further cause the computer to:
train, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the processed historical data and a processed version of the new class of relevant signal data;
validate, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retrain by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 11 (depends on 8)

The computer-readable storage medium of claim 8, wherein when the data set has been updated by the new relevant signal data beyond the first threshold, the instructions that when executed by a computer, further cause the computer to:
train, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the processed historical data and a processed version of the new relevant signal data;
validate, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retrain by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 12 (depends on 8)

The computer-readable storage medium of claim 8, wherein after forecasting follow receipt of the first forecast request, the instructions that when executed by a computer, further cause the computer to:
evaluate, by the processor, a forecast accuracy of the forecast against incoming processed historical product data; and
when the forecast accuracy falls below the second threshold,
train, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the incoming processed historical product data and the processed historical data;
validate, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retrain, by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 13 (depends on 12)

The computer-readable storage medium of claim 12, wherein the forecast accuracy is based on any one of: a Mean Absolute Percentage Error (MAPE); a Mean Absolute Scaled Error (MASE), a Mean Absolute Error (MAE), and a Weighted Mean Absolute Percentage Error (WMAPE).

### Claim 14 (depends on 8)

The computer-readable storage medium of claim 8, wherein when the time interval is beyond the second threshold, the instructions that when executed by a computer, further cause the computer to:
retrain, by the processor, the previously-selected machine learning model on an expanded data set comprising new processed data collected during the time interval and the processed historical data.

### Claim 15

A system comprising:
a processor; and
a memory storing instructions that, when executed by the processor, configure the system to:
receive, by the processor, a first forecast request;
train, by the processor, a plurality of machine learning models on a first portion of a data set;
validate, by the processor, a machine learning model on a second portion of the data set; and
retrain, by the processor, the machine learning model on a sum of the first portion and the second portion of the data set, the data set comprising processed historical data;
forecast, by the processor, a forecast based on the first forecast request;
receive, by the processor, a subsequent forecast request;
engage, by the processor, in a machine learning model selection process when:
i) the data set has been updated by a new class of relevant signal data since a previous forecast request; or
ii) the data set has been updated by an amount of new relevant signal data beyond a first threshold, since the previous forecast request; or
iii) the machine learning model has degraded;
and
retrain, by the processor, a previously-selected machine learning model when a time interval between successive forecast requests is greater than a second threshold.

### Claim 16 (depends on 15)

The system of claim 15, wherein the processed historical data comprises processed historical product data and processed historical location data.

### Claim 17 (depends on 15)

The system of claim 15, wherein when the data set is updated by the new class of relevant signal data, the system is further configured to:
train, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the processed historical data and a processed version of the new class of relevant signal data;
validate, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retrain by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 18 (depends on 15)

The system of claim 15, wherein when the data set has been updated by the new relevant signal data beyond the first threshold, the system is further configured to:
train, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the processed historical data and a processed version of the new relevant signal data;
validate, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retrain by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 19 (depends on 15)

The system of claim 15, wherein after forecasting follow receipt of the first forecast request, the system is further configured to:
evaluate, by the processor, a forecast accuracy of the forecast against incoming processed historical product data; and
when the forecast accuracy falls below the second threshold,
train, by the processor, the plurality of machine learning models on a first portion of an expanded data set, the expanded data set comprising the incoming processed historical product data and the processed historical data;
validate, by the processor, a selected machine learning model on a second portion of the expanded data set; and
retrain, by the processor, the selected machine learning model on a sum total of the first portion of the expanded data set and the second portion of the expanded data set.

### Claim 20 (depends on 19)

The system of claim 19, wherein the forecast accuracy is based on any one of: a Mean Absolute Percentage Error (MAPE); a Mean Absolute Scaled Error (MASE), a Mean Absolute Error (MAE), and a Weighted Mean Absolute Percentage Error (WMAPE).

### Claim 21 (depends on 15)

The system of claim 15, wherein when the time interval is beyond the second threshold, the system is further configured to:
retrain, by the processor, the previously-selected machine learning model on an expanded data set comprising new processed data collected during the time interval and the processed historical data.
