-
-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make mini-batch TF-IDF raise an exception (#1631)
* Make the mini-batch methods unavailable for TF-IDF There is currently no mini-batch implementation of TF-IDF. To prevent Python from using the methods from the parent class BagOfWords (which would give incorrect results), we add the methods to TF-IDF and raise an error. * Add missing parameters from VectorizerMixin The paramters were documented in the docstring but were not in the constructor. * Changelog entry
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters