ray.data.preprocessors.LabelEncoder.inverse_transform#

LabelEncoder.inverse_transform(ds: Dataset) Dataset[source]#

Inverse transform the given dataset.

Parameters:

ds – Input Dataset that has been fitted and/or transformed.

Returns:

The inverse transformed Dataset.

Return type:

ray.data.Dataset

Raises:

PreprocessorNotFittedException – if fit is not called yet.