-
Notifications
You must be signed in to change notification settings - Fork 159
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] Raise version bound for scikit-learn
1.6
#2486
base: main
Are you sure you want to change the base?
Conversation
Thank you for contributing to
|
@baraline I think other than expected results the only thing is the shapelet visualiser i.e. https://github.com/aeon-toolkit/aeon/actions/runs/12699462793/job/35400155079?pr=2486#step:8:925, not sure what would cause this. Can take a look if you dont have time but could just be a small thing. |
Will check during lunch time, doesnt look to bad |
@MatthewMiddlehurst I don't seem to be able to reproduce the bug locally somehow? I don't see how the changes could cause it. I'm using
|
@baraline need scikit-learn 1.6.0 |
@MatthewMiddlehurst The issue is that the |
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.
lgtm
Fix linear estimator coefs issue
f1e6485
Fixed the shapelet visualisation part (nvm some notebook failure still happens), but it seems there is other failures with expected results for multiple estimators, is 1.6 supposed to change any behaviour ? I don't see any change on highlights or docs between 1.5 and 1.6. Edit : for some linear models, the coef_ argument changed in 1.6, see scikit-learn/scikit-learn@2f8f9f3 |
What does this implement/fix? Explain your changes.
Raises the sklearn version bound and fixes broken tests.
This version introduces a new tags system used by sklearn. We have our own tag system, but I have integrated this somewhat so sklearn functions which use tags their should still work as intended.
The classification, regression and clustering base now extend the respective sklearn mixin. Just inheriting these is more maintainable than implementing our own methods for their tags and keeping up with changes to methods which use them IMO ( i.e. one of the breakages was
is_classifier
which now uses these tags instead ofself._estimator_type
).Any other comments?
Currently, there are some expected results failures due to a bug with trees, see scikit-learn/scikit-learn#30557. I probably won't merge this until 1.6.1 so we dont have to swap this again unless someone really needs it.