imblearn.pipeline.Pipeline.transform

property Pipeline.transform

Apply transforms, and transform with the final estimator

This also works where final estimator is None: all prior transformations are applied.

Parameters
Xiterable

Data to transform. Must fulfill input requirements of first step of the pipeline.

Returns
Xtarray-like of shape (n_samples, n_transformed_features)