Skip to content

Glossary: Unsupervised Learning

FunctionTransformer

A scikit-learn tool that wraps any function, here `np.log1p`, so it can sit inside a pipeline. `feature_names_out="one-to-one"` tells it the column names do not change.

Where the book teaches it

Related terms

ColumnTransformerlog transform