dtoolkit.pipeline.Pipeline.inverse_transform#

Pipeline.inverse_transform(Xt) Union[ndarray, Series, DataFrame][source]#

Apply inverse_transform for each step in a reverse order.

All estimators in the pipeline must support inverse_transform.

Parameters
Xtarray-like of shape (n_samples, n_transformed_features)

Data samples, where n_samples is the number of samples and n_features is the number of features. Must fulfill input requirements of last step of pipeline’s inverse_transform method.

Returns
Xtndarray of shape (n_samples, n_features)

Inverse transformed data, that is, data in the original feature space.