Skip to content

Commit 76c2828

Browse files
authored
DOC Specify behavior of None for CountVectorizer (#25678)
1 parent 4bd2c71 commit 76c2828

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)