OneHotPreProcessor¶
- class maze.core.wrappers.observation_preprocessing.preprocessors.one_hot.OneHotPreProcessor(observation_space: gymnasium.spaces.Space, **kwargs)¶
An one-hot encoding pre-processor for categorical features.
- process(observation: numpy.ndarray) numpy.ndarray¶
(overrides
PreProcessor)- implementation of
PreProcessorinterface
- processed_shape() Tuple[int, ...]¶
(overrides
PreProcessor)- implementation of
PreProcessorinterface
- processed_space() gymnasium.spaces.Box¶
(overrides
PreProcessor)- implementation of
PreProcessorinterface