ray.data.preprocessors.OneHotEncoder.deserialize#

static OneHotEncoder.deserialize(serialized: str) Preprocessor#

Load the original preprocessor serialized via self.serialize().

DeveloperAPI: This API may change across minor Ray releases.