gluonts.transform.dataset module

class gluonts.transform.dataset.TransformedDataset(base_dataset: Iterable[Dict[str, Any]], transformation: gluonts.transform._base.Transformation, is_train=True)[source]

Bases:, typing.Generic

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.

  • base_dataset – Dataset to transform

  • transformations – List of transformations to apply