-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
EHN Change default value of n_init in cluster.KMeans and cluster.k_means
#23038
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
Conversation
from 10 to 1 in 0.22
…cify initial values. All tests passed.
thomasjpfan
left a comment
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.
I think we still need to address #9729 (comment) and motivate the change from 10 to 5.
Let's continue the discussion in #9729 before commiting too deeply into this |
Per discussion in #9729 (comment) I'll go ahead and proceed with introducing auto-resolution for |
|
I guess it's worth to apply the same pattern to MiniBatchKMeans |
Should we go ahead and complete this PR first and then open a separate one for |
I actually went ahead and extended it to |
jeremiedbb
left a comment
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.
Many tests are failing because we turn future warnings into errors in the CI. For each of these you can either filter the warning or explicitly set n_init, whichever is more appropriate.
Co-authored-by: Jérémie du Boisberranger <[email protected]>
Co-authored-by: Jérémie du Boisberranger <[email protected]>
thomasjpfan
left a comment
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.
The ci failures look like they are related to this PR.
thomasjpfan
left a comment
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.
LGTM
ogrisel
left a comment
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.
LGTM!
|
@jeremiedbb I let you check that your comments where addressed the way you intended before merging. |
jeremiedbb
left a comment
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.
LGTM. Thanks @Micky774
Reference Issues/PRs
Fixes #9729
Resolves #11530 (stalled)
What does this implement/fix? Explain your changes.
Begins deprecation cycle for changing default value of
n_initincluster.KMeansandcluster.k_meansto 5.Any other comments?