-
Notifications
You must be signed in to change notification settings - Fork 54
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
MNT Sklearn1.6 compatibility #447
base: main
Are you sure you want to change the base?
MNT Sklearn1.6 compatibility #447
Conversation
from sklearn.utils._tags import get_tags | ||
from sklearn.utils._test_common.instance_generator import _construct_instances |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this only works in the new sklearn though. We'd need to have wrappers in fixes.py
to support both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try to make everything pass and then work on the separation at the end, it might make more sense since there are more incompatibilities in the same file. we can leave this unresolved as a reminder.
Co-authored-by: Adrin Jalali <[email protected]>
Co-authored-by: Adrin Jalali <[email protected]>
Issue in |
Question for the last few errors in the utils/tests.
|
Can you get the output with |
Co-authored-by: Adrin Jalali <[email protected]>
The issue is about versioning again, taking care of separating the SGD stuff by sklearn version would most likely solve these last errors. I will look into it today, seems a bit more complex in this case then the rest, at least at first glance. I will ping with questions. |
Reference Issues/PRs
Fixes #443. Not fully working yet.
What does this implement/fix? Explain your changes.
A few of the compatibility errors, including the one explained in #443 are now fixed. There are some external failures(errors happening outside of
skops
) that I am not sure how to fix. @adrinjalali any tips? Below are the remaining failures:Any other comments?
First PR to the project, the fixes might be off.
I understood #443 as I can remove all
SGD
stuff from the_sklearn.py
file when working withsklearn 1.6+
, tests pass like that, I am just not sure if the change is supposed to be so severe?