-
Notifications
You must be signed in to change notification settings - Fork 64
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
GBReweighter KeyError: 'squared_error' ?? #74
Comments
See the deprecation message from sklearn documentation:
I guess you need to update sklearn. |
thanks for the response, I updated sklearn "pip install -U scikit-learn" now the version is scikit-learn-1.1.1 but I still get the exact same error. Do you reckon that I need to update any other packages? |
Can't think about any other issue. Make sure to restart kernel, and verify sklearn by print(sklearn.__version__) |
Hi everyone, I am having an issue similar to the one @oozcelik reported, as shown bellow. I tried to update sklearn, as suggested by @arogozhnikov but also got the same error message. |
hi, I managed to get it work after deleting some files in my CERN BOX which causes conflict. |
Hi @oozcelik, what do you mean when you say that some files were causing conflict? I am not sure about which files I have might be related to this problem. |
ensure you do use the new version of sklearn (should be run within the same process/notebook as hep_ml): |
Hello everyone,
I'm constantly getting an error of " squared_error" which actually does not help much to understand the issue.
![Screen Shot 2022-06-28 at 4 05 57 PM](https://user-images.githubusercontent.com/12968334/176214135-41c6f75b-17df-4f47-9ad6-937f5f7b84af.png)
I attach the full error log.
and the piece of code where it complains is :
Does anybody have any idea about what is wrong? Many thanks!
The text was updated successfully, but these errors were encountered: