-
Notifications
You must be signed in to change notification settings - Fork 12
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
ci: Test with the 3 latest major versions of scikit-learn
#916
Conversation
65fed96
to
567a9ce
Compare
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.
Not sure skore
is critical to the point of making our CI run 4 times slower
11f3c35
to
1e08c6e
Compare
Older versions of |
39009b6
to
f6b2d7b
Compare
c7f5abd
to
7bb938b
Compare
7bb938b
to
33e1951
Compare
33e1951
to
9ce6e5b
Compare
So as a workaround for the older scikit-learn function, I think that you can:
Basically, in the case that I think it is worth a small comment to know why we pass the estimator around and actually don't expect to use it. |
I open #1062 that should solve the issue. |
Addressing the issue specified in #916 (comment) Because in scikit-learn 1.4, `check_estimator` does not accept `estimator=None`. Luckily, we have the available estimator so we can provide it to `_add_scorers` as a workaround and since `scoring is not None` we don't have any change of behaviour anyway.
Thanks @glemaitre for your fix, all good. It's ready to merge @rouk1 . |
# Conflicts: # skore/src/skore/sklearn/cross_validation/cross_validation_helpers.py
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.
Nice work, the planet says thx for caching venvs 💚
63fd0f0
to
8a08182
Compare
Refactor
skore.yml
workflow:scikit-learn
onos: "ubuntu-latest"
andpython: "3.12"
,venv
and caching it.And make
_add_scorers
compatible withsklearn ==1.4
.