Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In PredictService, allow handling data as a 1d array instead of 2d
When working with text, scikit-learn and others will sometimes expect the input to be a 1d array of strings rather than a 2d array. Setting the new *unwrap_sample* to true will use this representation.
- Loading branch information
Showing
2 changed files
with
82 additions
and
4 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