10000 DOC remove FutureWarning in cluster/plot_bisect_kmeans.py by aditya-anulekh · Pull Request #24891 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC remove FutureWarning in cluster/plot_bisect_kmeans.py #24891

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

aditya-anulekh
Copy link
Contributor
@aditya-anulekh aditya-anulekh commented Nov 11, 2022

Reference Issues/PRs

Towards #24876

What does this implement/fix? Explain your changes.

Fixed future warning in examples/cluster/plot_bisect_kmeans.py

Any other comments?

n_init='auto' seems to be throwing an error when calling .fit() method of the KMeans/BisectingKMeans objects. I adapted n_init=3 from #24880

@glemaitre glemaitre changed the title Fixed future warning in cluster/plot_bisect_kmeans.py DOC remove FutureWarning in cluster/plot_bisect_kmeans.py 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. Thanks @aditya-anulekh

@glemaitre glemaitre merged commit 2718d9b into scikit-learn:main Nov 12, 2022
@aditya-anulekh aditya-anulekh deleted the bisect-kmeans-future-warning branch November 12, 2022 09:35
@aditya-anulekh aditya-anulekh restored the bisect-kmeans-future-warning branch November 12, 2022 09:40
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