-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parallel execution for permutation_importance #244
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #244 +/- ##
==========================================
- Coverage 97.26% 96.88% -0.39%
==========================================
Files 44 44
Lines 2851 2855 +4
Branches 541 542 +1
==========================================
- Hits 2773 2766 -7
- Misses 41 48 +7
- Partials 37 41 +4
|
eli5/permutation_importance.py
Outdated
@@ -15,6 +15,7 @@ | |||
|
|||
import numpy as np # type: ignore | |||
from sklearn.utils import check_random_state # type: ignore | |||
from sklearn.externals.joblib import Parallel, delayed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can add # type: ignore
to this line to make type checks pass
Thanks, looks like a great feature! Tests are failing in Python 2.7; I'm not sure what it takes to make it work. Does it at least work with n_jobs=1? |
It seems in py2 instance method cannot be pickled in default. https://gist.github.com/luoq/703ec045827caf5a504ff97376db9c3e |
Are you still working on this? Would be very useful. |
will you drop python2 soon, so this pr gets merged? |
shall we switch this to use https://joblib.readthedocs.io/en/latest/parallel.html instead? |
Can I ask what happened to this? Is there now a way to use |
No description provided.