qolmat.imputations.preprocessing.WrapperTransformer¶
- class qolmat.imputations.preprocessing.WrapperTransformer(transformer: TransformerMixin, wrapper: TransformerMixin)[source]¶
Wrap a transformer.
Wrapper with reversible transformers designed to embed the data.
- __init__(transformer: TransformerMixin, wrapper: TransformerMixin)[source]¶
- fit(X: ndarray[tuple[int, ...], dtype[_ScalarType_co]], y: Optional[ndarray[tuple[int, ...], dtype[_ScalarType_co]]] = None) WrapperTransformer[source]¶
Fit the model according to the given training data.
- Parameters
- XNDArray
Input array.
- yOptional[NDArray], optional
_description_, by default None
- Returns
- Self
The object itself.