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
ATPE RuntimeError: The reset parameter is False but there is no n_features_in_ attribute #668
Comments
Workaround: I was using scikit-learn version 0.23.0. Going back to version 0.22.0 solved this for me |
@thededlier - I just experienced the exact same thing. When I dove into the debug it was trying to scale a single scalar value. I wasn't able to fix it myself but that was the issue. I will try your workaround. |
FYI: I had this same problem, when using latest It works good on Kubernetes in Azure all the time. BTW: It worked without any problems 2 months ago, even if I used |
how we go back to old version? |
|
Yes, going back to older version has worked for me. pip install scikit-learn==0.22.2.post1 |
shouldn't the PR #697 solve this issue? why would you like to go back? @sobia-shahid @giridhar-pamisetty |
the issue seems to be scikit-learn version 23.0, going back to scikit-lear 22.2 solved the problem for me.. Used this code in Anaconda Command Prompt |
Had same problem. Returning to scikit-lear 22.2 solved the problem. Thank you. |
scikit-learn==0.22.2.post1 works for me |
scikit-learn==0.22 seems to also work, even if it gives a warning. Thank you all for the head's up! Does anyone know what's causing this? |
There should be a solution with the latest build of Scikit learn.... Because sometimes peoples are working with some functions that are not available in previous, so how to synch in that case? |
I had the same issue, I was using scikit-learn== 0.23.1, I simply run the code: |
Yeah I also had done the same thing and it works...but what we can do if some methods needs scikit-learn >0.22.2 |
Version: 0.2.4
I'm trying to optimise a KNN algorithm using Adaptive TPE. Here's a snippet of the code I'm running
The first 10 initialization rounds run fine. However after that I run into this exception
It seems that the issue arises when transforming the scaling model. Any ideas on the exact reason for this?
Thanks in advance
The text was updated successfully, but these errors were encountered: