[FEA] Inertia Computation for Balanced KMeans and Add Option for Weighted Inertia#1880
Merged
rapids-bot[bot] merged 17 commits intorapidsai:mainfrom Mar 11, 2026
Merged
[FEA] Inertia Computation for Balanced KMeans and Add Option for Weighted Inertia#1880rapids-bot[bot] merged 17 commits intorapidsai:mainfrom
rapids-bot[bot] merged 17 commits intorapidsai:mainfrom
Conversation
jinsolp
approved these changes
Mar 5, 2026
Contributor
jinsolp
left a comment
There was a problem hiding this comment.
Thanks @tarang-jain LGTM!
lowener
reviewed
Mar 6, 2026
divyegala
previously approved these changes
Mar 6, 2026
divyegala
approved these changes
Mar 10, 2026
Contributor
Author
|
/merge |
mindtravel
pushed a commit
to mindtravel/cuvs
that referenced
this pull request
Mar 12, 2026
…hted Inertia (rapidsai#1880) Closes rapidsai#1762 Authors: - Tarang Jain (https://github.com/tarang-jain) Approvers: - Jinsol Park (https://github.com/jinsolp) - Divye Gala (https://github.com/divyegala) URL: rapidsai#1880
rapids-bot Bot
pushed a commit
that referenced
this pull request
Mar 31, 2026
Merge after #1880 This PR adds support for streaming out of core (dataset on host) kmeans clustering. The idea is simple: Batched accumulation of centroid updates: Data is processed in batches and batch-wise means and cluster counts are accumulated until all the batches i.e., the full dataset pass has completed. This PR just brings a batch-size parameter to load and compute cluster assignments and (weighted) centroid adjustments on batches of the dataset. The final centroid 'updates' i.e. a single kmeans iteration only completes when all these accumulated sums are averaged once the whole dataset pass has completed. Authors: - Tarang Jain (https://github.com/tarang-jain) Approvers: - Victor Lafargue (https://github.com/viclafargue) - Anupam (https://github.com/aamijar) - Micka (https://github.com/lowener) - Jinsol Park (https://github.com/jinsolp) - Ben Frederickson (https://github.com/benfred) URL: #1886
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1762