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