-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve
predict
speed (10x-200x faster!)
The `predict` method (and therefore all methods using it, such as `grid_search`) now runs form 10 to (above) 200 times faster (e.g. from 2 mins to 9s, or even 500ms when used the same `x_test` a second time, which is the usual case in `grid_search(es)`). Now, the only bottleneck left to speed up the overall `grid_search` time is training time, which is something in "the TODO list" (i.e. rewrite the training algorithm to use numpy and sparse matrices)
- Loading branch information
1 parent
b4f8827
commit 37202d8
Showing
2 changed files
with
159 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