Scikit-Learn Wrapper

class sekupy.preprocessing.sklearn.ScikitWrapper(estimator=None, **kwargs)[source]

Transformer to be used with scikit-learn transformers. They must implement fit_transform method, one application can be Principal Component decomposition.

Parameters:

estimator ([type], optional) – [description], by default None

transform(ds)[source]

Transform the provided dataset.

This method applies the transformation to the dataset and records the transformation in the dataset’s preprocessing history.

Parameters:

ds (Dataset) – The dataset to transform

Returns:

The transformed dataset

Return type:

Dataset