Skip to content

Commit 0466d31

Browse files
yusufrajiglemaitre
authored andcommitted
DOC Specify behaviour of None for TfIdfVectorizer max_features parameter (#25676)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
1 parent de45c31 commit 0466d31

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
@@ -1874,7 +1874,8 @@ class TfidfVectorizer(CountVectorizer):
18741874
18751875
max_features : int, default=None
18761876
If not None, build a vocabulary that only consider the top
1877-
max_features ordered by term frequency across the corpus.
1877+
`max_features` ordered by term frequency across the corpus.
1878+
Otherwise, all features are used.
18781879
18791880
This parameter is ignored if vocabulary is not None.
18801881

0 commit comments

Comments
 (0)