8000 DOC Fix typo and adjust wording in `set_output` example (#24689) · scikit-learn/scikit-learn@98a3fdf · GitHub
[go: up one dir, main page]

Skip to content

Commit 98a3fdf

Browse files
betatimglemaitre
andauthored
DOC Fix typo and adjust wording in set_output example (#24689)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
1 parent 69ca8d5 commit 98a3fdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/miscellaneous/plot_set_output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
# %%
6262
# Each transformer in the pipeline is configured to return DataFrames. This
63-
# means that the final logistic regression step contain the feature names.
63+
# means that the final logistic regression step contains the feature names of the input.
6464
clf[-1].feature_names_in_
6565

6666
# %%
@@ -75,7 +75,7 @@
7575

7676
# %%
7777
# The `set_output` API can be configured globally by using :func:`set_config` and
78-
# setting the `transform_output` to `"pandas"`.
78+
# setting `transform_output` to `"pandas"`.
7979
from sklearn.compose import ColumnTransformer
8080
from sklearn.preprocessing import OneHotEncoder, StandardScaler
8181
from sklearn.impute import SimpleImputer

0 commit comments

Comments
 (0)
0