8000 Merge pull request #4042 from lmichelbacher/patch-2 · scikit-learn/scikit-learn@69567ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 69567ec

Browse files
committed
Merge pull request #4042 from lmichelbacher/patch-2
[MRG+1] Add dependence on max_features to docstring
2 parents cda6438 + d67e9c4 commit 69567ec

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

sklearn/feature_extraction/text.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -607,9 +607,12 @@ class CountVectorizer(BaseEstimator, VectorizerMixin):
607607
A mapping of terms to feature indices.
608608
609609
stop_words_ : set
610-
Terms that were ignored because
611-
they occurred in either too many
612-
(`max_df`) or in too few (`min_df`) documents.
610+
Terms that were ignored because they either:
611+
612+
- occurred in too many documents (`max_df`)
613+
- occurred in too few documents (`min_df`)
614+
- were cut off by feature selection (`max_features`).
615+
613616
This is only available if no vocabulary was given.
614617
615618
See also

0 commit comments

Comments
 (0)
0