-
Notifications
You must be signed in to change notification settings - Fork 130
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: can't set attribute #44
Comments
I couldn't reproduce this error. What version of the library are you using? Can you give me a pip freeze of your env? |
Here the pip freeze: alabaster==0.7.9 |
I also have this suddenly |
For some reason I had to roll back to |
I have the same issue, but upgrading to sklearn 0.19.1 did not solve the issue. |
I solved it by removing these fromt init
Looks like they are already declared in the base module, and it creates some trouble for some strange reasons... Any ideas? Seems to be working just fine without declaring None Edit: It didn't work. It fails in the end with the same error at:
Edit2: It did work in the end by just renaming to something else. |
Maybe something changed with the new version of scikit-learn, I'll see if I have some time to fix this bug. |
This shows how to solve this problem: https://stackoverflow.com/q/35950741/4013571
|
…ed changes from pull request: rsteca#45
I am using the same package on Linux (Fedora) and receiving the same error. This is occurring when simply running the example test code:
And the pip freeze:
|
Hi, Getting the attribute error, as shown. installed whatever is mentioned in this thread, still the same error. AttributeError Traceback (most recent call last) ~\anaconda3\envs\PythonData\envs\mlenv\lib\site-packages\imblearn\ensemble_forest.py in fit(self, X, y, sample_weight) AttributeError: can't set attribute |
This is quite puzzling.
macos 10.9.5,
python 3.5.2
with anaconda and spyder
My code:
I get the following error:
File "~/anaconda/lib/python3.5/site-packages/evolutionary_search/cv.py", line 301, in init
self.best_score_ = None
AttributeError: can't set attribute
Any idea?
The text was updated successfully, but these errors were encountered: