-
Notifications
You must be signed in to change notification settings - Fork 21
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
ValueError: not enough values to unpack (expected 2, got 0) #13
Comments
This seems to indicate that the results of the jobs are empty or None. Are you sure your data set is not empty? |
I tried with the parameter parallelize=False and I don't have the issue. Furthermore the result for best parameters seems not to work. It seems to display the last tried parameters.
To verify I ran the model on best params, and other params
As you can see the second model is better (OOB is the last number) but it's not the best params.
Maybe I am missing something on how to use the library |
Hm, that's interesting. If that's correct (and parallelize=False returns the last tried model, not the best one) then I'd say that that's a bug. Pinging @cgnorthcutt |
Hey folks, appreciate the insights here. I'm fully booked with the upcoming ML paper deadlines for the fall. If you can take a stab at a PR I'll take a look, but to figure it out myself might be some time, just a heads up. |
A couple things to check:
|
same here |
Hi, can you please post complete code to reproduce as simply as possibly. @mouadriyad |
I had the exact same problem at my first time with hypopt.
|
The problem is that each fitted model is connected with all the previously calculated models (inheritance) and overrides them all. Therefere the scores stay the same, but the models end up being identical. What worked for me is:
and then exchange:
There is probably a better way to do this, but it worked for me :) |
@phibil Great! please submit a pull request? |
Hi, |
I am still getting the same problem. Is there any fix to it? |
Which OS are you working on? Plus, are you using default |
I am using linux OS. I tried with both parallelize=True and parallelize=False . |
After doing parallelize false, I got an another error "zip argument #1 must support iteration" that is also one of the issue created in your github repository. |
Same problem as Rajjat |
Has this been resolved? |
I tried to use your package with RandomForestRegressor, but I get an error
The output:
The text was updated successfully, but these errors were encountered: