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

Minor Kmeans update #559

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Minor Kmeans update #559

merged 1 commit into from
Oct 1, 2019

Conversation

rchliu
Copy link
Contributor

@rchliu rchliu commented Mar 1, 2019

This change replaces an unnecessary list allocation and copy with an in-place truncation in the Kmeans code. It also updates the documentation for centroid initialization to account for the kmeans|| initialization method introduced in 7bbad81.

@jmschrei
Copy link
Owner

jmschrei commented Oct 1, 2019

Seems reasonable.

@jmschrei jmschrei merged commit 52e7d30 into jmschrei:master Oct 1, 2019
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