ray.data.preprocessors.RobustScaler.transform_batch#

RobustScaler.transform_batch(data: DataBatchType) DataBatchType#

Transform a single batch of data.

The data will be converted to the format supported by the Preprocessor, based on which _transform_* methods are implemented.

Parameters:

data – Input data batch.

Returns:

The transformed data batch. This may differ from the input type depending on which _transform_* methods are implemented.

Return type:

DataBatchType