base
ColumnTransformer
Bases: ABC
A generic column transformer class to prototype all of the transformers applied via the MetaTransformer
.
Source code in src/nhssynth/modules/dataloader/transformers/base.py
apply(data, missingness_column)
abstractmethod
TransformerWrapper
Bases: ABC
A class to facilitate nesting of ColumnTransformer
s.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
wrapped_transformer |
ColumnTransformer
|
The |
required |
Source code in src/nhssynth/modules/dataloader/transformers/base.py
apply(data, missingness_column, **kwargs)
Method for applying the wrapped transformer to the data.
Source code in src/nhssynth/modules/dataloader/transformers/base.py
revert(data, **kwargs)
Method for reverting the passed data via the wrapped transformer.