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

Skip to content

Commit e2766fd

Browse files
alielkassasjeremiedbb
authored andcommitted
DOC Specify behavior of None for CountVectorizer (scikit-learn#25678)
1 parent 3bf5950 commit e2766fd

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