tempor.methods.preprocessing.nop package

Module contents

No operation transformer.

class tempor.methods.preprocessing.nop.NopTransformer(**params: Any)[source]

Bases: BaseTransformer

Abstract base class for all transformers.

Defines some core methods, primarily: - transform: Transforms the given data. - _transform: The implementation of the above method in the derived classes.

static hyperparameter_space(*args: Any, **kwargs: Any) list[Params][source]

The hyperparameter search domain, used for tuning.

Can provide variadics *args and **kwargs, these will be received from sample_hyperparameters.

category : ClassVar[plugin_typing.PluginCategory] = 'preprocessing.nop'

Plugin category, such as 'prediction.one_off.classification'. Must be set by the plugin class using @register_plugin.

name : ClassVar[plugin_typing.PluginName] = 'nop_transformer'

Plugin name, such as 'my_nn_classifier'. Must be set by the plugin class using @register_plugin.

plugin_type : ClassVar[plugin_typing.PluginTypeArg] = 'method'

Plugin type, such as 'method'. May be optionally set by the plugin class using @register_plugin, else will set the default plugin type.