8000 DOC Specify behavior of None for CountVectorizer (#25678) · scikit-learn/scikit-learn@de45c31 · GitHub
[go: up one dir, main page]

Skip to content

Commit de45c31

Browse files
alielkassasjeremiedbb
authored andcommitted
DOC Specify behavior of None for CountVectorizer (#25678)
1 parent cc4984f commit de45c31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/feature_extraction/text.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,8 @@ class CountVectorizer(_VectorizerMixin, BaseEstimator):
10511051
10521052
max_features : int, default=None
10531053
If not None, build a vocabulary that only consider the top
1054-
max_features ordered by term frequency across the corpus.
1054+
`max_features` ordered by term frequency across the corpus.
1055+
Otherwise, all features are used.
10551056
10561057
This parameter is ignored if vocabulary is not None.
10571058

0 commit comments

Comments
 (0)
0