ray.data.preprocessor.Preprocessor.transform#
- Preprocessor.transform(ds: Dataset) Dataset [source]#
Transform the given dataset.
- Parameters:
ds – Input Dataset.
- Returns:
The transformed Dataset.
- Return type:
- Raises:
PreprocessorNotFittedException – if
fit
is not called yet.