Skip to content
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

Fix compatibility with latest version of scikit-learn #131

Merged
merged 11 commits into from
Oct 19, 2021

Conversation

TimotheeMathieu
Copy link
Contributor

@TimotheeMathieu TimotheeMathieu commented Oct 13, 2021

New version of scikit-learn changed squared_loss to squared_error, I fixed this issue in RobustWeightedRegressor
New version of scikit-learn changed check_is_fitted common test that we also use and it failed for fastfood.
There is also a parameter that changed for clustering bandwidth algo, need to be fixed in examples.

Copy link
Contributor

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @TimotheeMathieu ! Yes, <0.1% coverage change is not a blocker, particularly that sometimes it can be a bit unreliable.
Here however it actually points to a genuine issue, I think, see my comment below.

Also I think this could be the occasion to drop Python 3.6 and sklearn <0.24 support and update the tested versions here by adding 1.0.0 there explicitly in one of the versions.

@TimotheeMathieu
Copy link
Contributor Author

Ok, thanks for catching this. I changed azure pipeline to remove support for python 3.6 and I added a test specific for scikit-learn 1.0.0.

Copy link
Contributor

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! We should probably update the minimal versions in the readme and docs/install.md at the same time, otherwise LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants