sklearn.compose#

Meta-estimators for building composite models with transformers.

In addition to its current contents, this module will eventually be home to refurbished versions of Pipeline and FeatureUnion.

User guide. See the Pipelines and composite estimators section for further details.

ColumnTransformer

Applies transformers to columns of an array or pandas DataFrame.

TransformedTargetRegressor

Meta-estimator to regress on a transformed target.

make_column_selector

Create a callable to select columns to be used with ColumnTransformer.

make_column_transformer

Construct a ColumnTransformer from the given transformers.