From 41a81bc789261edc4ff66d9d05f3e4696d577bea Mon Sep 17 00:00:00 2001 From: Tim Head Date: Tue, 18 Oct 2022 09:08:29 +0200 Subject: [PATCH] Fix typo and adjust wording --- examples/miscellaneous/plot_set_output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/miscellaneous/plot_set_output.py b/examples/miscellaneous/plot_set_output.py index d36309e5b2745..104ee25842058 100644 --- a/examples/miscellaneous/plot_set_output.py +++ b/examples/miscellaneous/plot_set_output.py @@ -60,7 +60,7 @@ # %% # Each transformer in the pipeline is configured to return DataFrames. This -# means that the final logistic regression step contain the feature names. +# means that the final logistic regression step contains the feature names of the input. clf[-1].feature_names_in_ # %% @@ -75,7 +75,7 @@ # %% # The `set_output` API can be configured globally by using :func:`set_config` and -# setting the `transform_output` to `"pandas"`. +# setting `transform_output` to `"pandas"`. from sklearn.compose import ColumnTransformer from sklearn.preprocessing import OneHotEncoder, StandardScaler from sklearn.impute import SimpleImputer