Training data routing and prediction ensembling at time series prediction system
AssigneeAmazon Technologies, Inc.
InventorsTim Januschowski, Joos-Hendrik Boese, Jan Alexander Gasthaus, Sebastian Schelter
Life of this patent
Estimating the term…
Abstract
An input data set with a plurality of item descriptors comprising respective time series observations is identified. A routing directive indicating a predicate to be evaluated to determine whether a particular item descriptor is to be included in a training data set for a first learning algorithm is obtained. A plurality of learning algorithms are trained using training data sets derived from the input data set according to respective routing directives, and the trained algorithms are stored.
Claims22
A system, comprising:
- one or more computing devices of a network-accessible machine learning service;
- wherein the one or more computing devices are configured to:
- identify a first input data set comprising respective item descriptors associated with respective ones of a plurality of items, wherein a first item descriptor of the respective item descriptors comprises (a) a first time series of observations associated with a first item of the plurality of items and (b) one or more additional attributes of the first item, including an item category to which the first item belongs;
- obtain, via one or more programmatic interfaces, a training specification comprising one or more routing directives indicating respective predicates to be evaluated to determine which item descriptors of the first input data set are to be included in respective training data sets for training respective ones of a plurality of learning algorithms indicated in the training specification;
- evaluate the predicates indicated by the one or more muting directives with respect to the item descriptors of the first input data set to form the respective training data sets from the first input data set, wherein the respective training data sets include at least some differences in which portions item descriptors of the first input data set are included in the respective training data sets;
- provide different ones of the training data sets to train respective ones of the plurality of learning algorithms as indicated in the training specification;
- obtain, via the one or more programmatic interfaces, a prediction specification comprising one or more aggregation directives, wherein a particular aggregation directive of the one or more aggregation directives indicates, with respect to a particular prediction period:
- a first percentile of prediction samples to be obtained from the first learning algorithm for one or more items of the plurality of items that satisfy an aggregation predicate, and
- a second percentile of prediction samples to be obtained from a second learning algorithm for the one or more items,
- wherein the prediction specification is obtained prior to applying the first and second learning algorithms to obtain predictions for the first and second items such that the first and second percentiles are predetermined and the aggregation predicate is predetermined;
- and
- store a probabilistic prediction of a future value corresponding to the first time series, wherein the probabilistic prediction is obtained at least in part by combining the first and second percentiles of prediction samples in accordance with the prediction specification.
A method, comprising:
- performing, by one or more computing devices:
- identifying a first input data set comprising a plurality of item descriptors, individual ones of the item descriptors associated with different respective items of a plurality of items, wherein the individual item descriptors of the first input data set comprise respective time series of observations associated with respective items of the plurality of items;
- obtaining a training specification comprising one or more routing directives indicating respective predicates to be evaluated to determine respective portions of the item descriptors of the first input data set to be included in respective training data sets for training respective ones of a plurality of learning algorithms indicated in the training specification, wherein the training specification is obtained prior to forming the respective training data sets from the first input data set such that the predicates are predetermined;
- after obtaining the training specification, evaluating the predicates indicated by the one or more routing directives with respect to individual ones of the item descriptors of the first input data set to form the respective training data sets from the first input data set to determine which individual ones of the item descriptors to include in different ones of the training data sets, wherein the respective training data sets include at least some differences in which item descriptors of the first input data set are included in the respective training data sets;
- providing different ones of the training data sets to train respective ones of the plurality of learning algorithms as indicated in the training specification;
- and
- storing one or more of the trained learning algorithms.
A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors cause the one or more processors to:
- determine that a forecast of respective values of one or more time series are to be generated, wherein individual ones of the time series are associated with respective items;
- obtain a prediction specification comprising one or more aggregation directives indicating, with respect to a particular prediction period of the forecast:
- a first percentile for prediction samples to be obtained from a first learning algorithm for a first item of the respective items which satisfies a first predicate, and a second percentile for prediction samples to be obtained from a second learning algorithm for the first item, and
- a third percentile for prediction samples to be obtained from one of the first learning algorithm or the second learning algorithm for a second item of the respective items which satisfies a second predicate,
- wherein the prediction specification is obtained prior to applying the first and second learning algorithms to obtain predictions for the first and second items such that the first, second and third percentiles and the first and second predicates are predetermined;
- obtain and combine the first percentile of prediction samples from the first learning algorithm and the second percentile of prediction samples from the second learning algorithm in accordance with the obtained prediction specification to determine a first probabilistic prediction for the first item, and obtain the third percentile of prediction samples from one of the first learning algorithm or the second learning algorithm to determine a second probabilistic prediction for the second item in accordance with the obtained prediction specification, such that the first probabilistic prediction for the first item and the second probabilistic prediction for the second item are based on different percentiles of prediction samples from the first learning algorithm and the second learning algorithm;
- and
- store the first probabilistic prediction as a future value of a first time series associated with the first item and the second probabilistic prediction as a future value of a second time series associated with the second item.
Dependencies are inferred from the claim text.