8000 DOC Specify behaviour of None for TfIdfVectorizer max_features parame… · scikit-learn/scikit-learn@d5df806 · GitHub
[go: up one dir, main page]

Skip to content

Commit d5df806

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

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)
0