-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
JoblibException thrown when passing "fit_params={'sample_weights': weights}" to RandomizedSearchCV with RandomForestClassifier #8062
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
Comments
Just upgraded to ('Scikit-Learn', '0.18.1') and the error is still thrown. |
Thanks. Without a full error traceback, and without a complete snippet
which fails, it is very hard to see what might be going on.
|
Here is the full error traceback: Do you need a better example of the code that is failing? I'm pretty sure if you tried running the function I pasted above with dummy |
Yes, we need to call |
Hi, I'd like to work on this. (: Is this related to #8064? |
Hi, I'd like to take this on. Can someone tell me as to how do I start? |
@jnothman I'm having trouble reproducing this error with dummy data. I thought the following code was going to throw the same error, but it doesn't.
It still definitely happens on my machine with the specific dataset I am using. It's weird that the error does not happen when |
Ohhh, I see. In my original code |
Description
JoblibException thrown when passing
fit_params={'sample_weights': weights}
to RandomizedSearchCV with RandomForestClassifier as the base classifier. This error does not occur when ExtraTreesClassifier is the base classifier.Steps/Code to Reproduce
Expected Results
No error is thrown.
Actual Results
...there's a lot more stuff printed after this
Versions
Darwin-15.6.0-x86_64-i386-64bit
('Python', '2.7.10 (default, Oct 23 2015, 19:19:21) \n[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]')
('NumPy', '1.11.2')
('SciPy', '0.18.1')
('Scikit-Learn', '0.18')
The text was updated successfully, but these errors were encountered: