scikit-learn/scikit-learn — pull request #2478 by flukeskywalker (2013-09-25 23:01:34+00:00)
Title: FIX #2443: _limit_features now keeps correct top features when max_features is not None

A fix for issue #2443.
- I have added a regression test for CountVectorizer but I am not sure if there should be another one for TfidfVectorizer. Perhaps someone more well-versed with tf-idf should look into this.
- I could not run the full tests due to (I think) the OpenBLAS issue, but tests for sklearn.feature_extraction are successful.