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
showstopper issue - AttributeError: 'hyperopt_estimator' object has no attribute 'classifier' #168
Comments
My guess would be you have an older version of hpsklearn. Have you tried installing the one from master? The version I get when I do that is 0.0.3 which is different than yours. |
Thank you for your suggestion. But installation from a git clone failed with
Tried both a) cloning master from https://github.com/hyperopt/hyperopt-sklearn and b) |
Hi @snaraya7, for cloning master, maybe try via |
@mgbckr Thank You! Unfortunately receiving the same error. I am using Python 3.7.1. Tried installing as well as referring the package separately in IDE, but neither works. |
@snaraya7 Just started playing with it, too, and I actually get the same issue :D So the issue lies within the |
Yay! thanks for debugging, please let me know if you have a fix. Looking into your explanation. |
Tried to come up with a solution. Please test if you get a chance. |
Yes, not fully resolved. Are you able to run (estimate) a best model for some dataset ? Getting newer issues with components and freeze_support().
|
Works fine for me it seems. If you can provide a minimal example and an error message, I'd try to have a look if I can find the time.
|
Had some time to look into this a bit more, and it seems the freeze_support error is a windows specific issue. You can try the solution here: some answers are saying you may also need to add a freeze_support line explicitly like this: from multiprocessing import freeze_support
if __name__ == '__main__':
freeze_support()
main() |
Same issue on Ubuntu Linux with Python 3.6 on Anaconda: $ python
I've installed it through: Any thoughts on how to solve this? |
Checkout my pull request mentioned above #169 . That works for me at least. Maybe you can give it a try. |
Thank You for hyperopt-sklearn it is a great package.
Recently, even this basic code fails:
Windows 10 machine, Python 3.7.1, hpsklearn 0.1.0, networkx-2.5
Please suggest
The text was updated successfully, but these errors were encountered: