-
Notifications
You must be signed in to change notification settings - Fork 1k
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
AttributeError with numpy while using HyperoptEstimator #829
Comments
There was a change in hyperopt @HarshSharma12 you can downgrade hyperopt to |
exactly, sorry about that! 0.2.6 should have that change, too. so you'd need an earlier version than that. |
Hi. I just had the same problem. |
@alexandschaefer You're right, I should've done that earlier 😓 . I've opened a new PR (#831) for this. |
Thanks, downgrading hyperopt to v0.2.5 solved this issue for me. |
I downgraded hyperopt to v0.2.5 but it came up with another issue. it said hyperopt.pyll has no attribute 'base' |
Had this issue in
updated line 278-230: replacing
Previously
solved the issue |
I'm also having an issue, I tried downgrading to version 0.2.5 but I'm still getting the same error with the fit function. |
This issue has been marked as stale because it has been open 120 days with no activity. Remove the stale label or comment or this will be closed in 30 days. |
I tried using the
HyperoptEstimator
from hpsklearn and it gives me the following errorAccording to the numpy documentation on RandomState, there is no attribute
integers
. There is however arandint
which seems to satisfy the requirements.Library versions:
hpsklearn @ git+https://github.com/hyperopt/hyperopt-sklearn@c66f8df76003b5e72cb242399eeb139f951a1883
hyperopt==0.2.7
numpy==1.21.4
OS: Ubuntu 20.04
To replicate the error you can try the Complete example using the Iris dataset: from the documentation
The text was updated successfully, but these errors were encountered: