gluonts.transform.dataset module

class gluonts.transform.dataset.TransformedDataset(base_dataset: Iterable[Dict[str, Any]], transformations: List[gluonts.transform._base.Transformation])[source]

Bases: typing.Iterable

A dataset that corresponds to applying a list of transformations to each element in the base_dataset. This only supports SimpleTransformations, which do the same thing at prediction and training time.

Parameters
  • base_dataset – Dataset to transform

  • transformations – List of transformations to apply