CompositePreprocessor
Bases: DataPreprocessor
Data preprocessor that composes multiple data preprocessors
PARAMETER | DESCRIPTION |
---|---|
data_preprocessors
|
data preprocessors
TYPE:
|
from_config
classmethod
Creates a composite preprocessor from the configuration.
PARAMETER | DESCRIPTION |
---|---|
config
|
configuration
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
CompositePreprocessor
|
composite preprocessor |
__call__
Preprocesses the data with each data preprocessor.
PARAMETER | DESCRIPTION |
---|---|
data
|
data
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
npt.NDArray
|
preprocessed data |
CompositePreprocessorConfig
Bases: pydantic.BaseModel
Configuration for the from_config
class method of CompositePreprocessor
ATTRIBUTE | DESCRIPTION |
---|---|
data_preprocessors_configs |
configurations of the data preprocessors
TYPE:
|
DataPreprocessorConfig
Bases: pydantic.BaseModel
Configuration for data preprocessors
ATTRIBUTE | DESCRIPTION |
---|---|
name |
name of the data preprocessor
TYPE:
|
config |
configuration of the data preprocessor
TYPE:
|