Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC remove FutureWarning in plot_colour_quantization example #24893

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
merged 2 commits into from
Nov 12, 2022

Conversation

GeorgiaMayDay
Copy link
Contributor

Reference Issues/PRs

#24876 - specifically cluster/colour_quantization.html

What does this implement/fix? Explain your changes.

I've changed the example so that when k_means is called n_init is set as "auto", which prevents the future warning

Any other comments?

@betatim
Copy link
Member

betatim commented Nov 11, 2022

Could someone from the core team approve the running of the GH Action workflows for this PR?

@glemaitre glemaitre changed the title Stopped warning from appearing in plot_colour_quantization example DOC remove FutureWarning in plot_colour_quantization example Nov 12, 2022
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM

@glemaitre glemaitre merged commit 4c96d7c into scikit-learn:main Nov 12, 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.

3 participants