8000 Incorrect number of samples in One Hot Encoder example (#8255) · scikit-learn/scikit-learn@f49f890 · GitHub
[go: up one dir, main page]

Skip to content

Commit f49f890

Browse files
davidroblesjnothman
authored andcommitted
Incorrect number of samples in One Hot Encoder example (#8255)
1 parent 1b0ec1b commit f49f890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/preprocessing/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ class OneHotEncoder(BaseEstimator, TransformerMixin):
17351735
17361736
Examples
17371737
--------
1738-
Given a dataset with three features and two samples, we let the encoder
1738+
Given a dataset with three features and four samples, we let the encoder
17391739
find the maximum value per feature and transform the data to a binary
17401740
one-hot encoding.
17411741

0 commit comments

Comments
 (0)
0