8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set_output
1 parent 69ca8d5 commit 98a3fdfCopy full SHA for 98a3fdf
examples/miscellaneous/plot_set_output.py
@@ -60,7 +60,7 @@
60
61
# %%
62
# Each transformer in the pipeline is configured to return DataFrames. This
63
-# 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.
64
clf[-1].feature_names_in_
65
66
@@ -75,7 +75,7 @@
75
76
77
# The `set_output` API can be configured globally by using :func:`set_config` and
78
-# setting the `transform_output` to `"pandas"`.
+# setting `transform_output` to `"pandas"`.
79
from sklearn.compose import ColumnTransformer
80
from sklearn.preprocessing import OneHotEncoder, StandardScaler
81
from sklearn.impute import SimpleImputer
0 commit comments