10000 DOC remove FutureWarnings from release 1.1.0 by edenies · Pull Request #24939 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC remove FutureWarnings from release 1.1.0 #24939

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

Merged

Conversation

edenies
Copy link
Contributor
@edenies edenies commented Nov 15, 2022

Reference Issues/PRs

Fixes the task release_highlights/plot_release_highlights_1_1_0.html of the issue #24876 .

What does this implement/fix? Explain your changes.

This PR fixes the FutureWarning linked to usage of KMeans without n_init explicitly defined. Therefore I added n_init="auto" (previous default value) making the Depreciation Warning go away.
Moreover, a FutureWarning occured with the usage of sparse when calling OneHotEncoder which was renamed to sparse_output.

Any other comments?

@glemaitre glemaitre changed the title Doc plot release highlights 1 1 0 DOC remove FutureWarnings from release 1.1.0 Nov 15, 2022
@glemaitre
Copy link
Member

The changes are good. Thanks @edenies

@glemaitre glemaitre merged commit 768c01d into scikit-learn:main Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0