ray.data.preprocessors.MaxAbsScaler.transform_batch#
- MaxAbsScaler.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