-
Notifications
You must be signed in to change notification settings - Fork 164
[FEA] Add Batching to KMeans #1886
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
Open
tarang-jain
wants to merge
125
commits into
rapidsai:release/26.04
Choose a base branch
from
tarang-jain:batched-kmeans
base: release/26.04
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,594
−143
Open
Changes from all commits
Commits
Show all changes
125 commits
Select commit
Hold shift + click to select a range
ca07c08
first commit (unclean)
tarang-jain bc872c8
Merge branch 'main' into minibatch-kmeans
tarang-jain daf6d6e
Merge branch 'main' into minibatch-kmeans
tarang-jain f1a19df
style
tarang-jain 181d536
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain 0fa00b0
copyright
tarang-jain 371543f
Merge branch 'main' into minibatch-kmeans
tarang-jain c81650c
Merge branch 'main' into minibatch-kmeans
tarang-jain fcbdda5
python test
tarang-jain d6ed934
minibatch first commit
tarang-jain 5d4b498
fix docs
tarang-jain 72fe789
replace thrust calls:
tarang-jain aefae6e
Merge branch 'main' of https://github.com/rapidsai/cuvs into minibatc…
tarang-jain 526ac04
common function in helper
tarang-jain e9c85b9
Merge branch 'main' into minibatch-kmeans
tarang-jain 1efadde
Merge branch 'main' into minibatch-kmeans
tarang-jain ee45045
Merge branch 'main' into minibatch-kmeans
tarang-jain 9b6f1ef
fix templates
tarang-jain ad20d0a
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain 4b65df5
namespace and init fixes
tarang-jain 5eb2be5
fix docs in main header
tarang-jain c23985a
several fixes
tarang-jain c103f87
Merge branch 'main' into minibatch-kmeans
tarang-jain 9d87a5f
rm lower precision
tarang-jain 5bcec91
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain a618ed5
rm unnecessary unary-ops
tarang-jain 3b86325
rm unnecessary unary-ops
tarang-jain f1b4835
minibatch allocations are conditional
tarang-jain d2d3f4b
cleanup extraneous docs
tarang-jain 639147a
revert changes to get_dataset
tarang-jain c5b9628
Merge branch 'main' into minibatch-kmeans
tarang-jain 6246289
fix python tests
tarang-jain 22c10ec
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain b580760
address sklearn inconsistency
tarang-jain 491c900
fix call to finalize_centroids
tarang-jain 6886fb7
bug fixes and python tests
tarang-jain 8e45bcd
Merge branch 'main' into minibatch-kmeans
tarang-jain 567a01a
Merge branch 'main' of https://github.com/rapidsai/cuvs into minibatc…
tarang-jain ab366f5
add early stopping criteria from sklearn
tarang-jain dbfd1a8
fixes
tarang-jain e76624f
fix test by normalizing data
tarang-jain 8d629f1
Merge branch 'main' into minibatch-kmeans
tarang-jain 3961187
Merge branch 'main' of https://github.com/rapidsai/cuvs into minibatc…
tarang-jain 296942d
Merge branch 'batched-kmeans' of https://github.com/tarang-jain/cuvs …
tarang-jain aacd543
rejection sampling
tarang-jain d746af2
style
tarang-jain 6d01aed
update test with inertia check
tarang-jain 2f1189f
fix style
tarang-jain 0862da6
add reassignment; update minibatch params struct
tarang-jain 8b448f6
style
tarang-jain 8225e15
fix merge conflict
tarang-jain 7c3965c
simplify minibatch update step
tarang-jain c490208
fix oom
tarang-jain b09611a
update tests
tarang-jain d404255
Merge branch 'main' into minibatch-kmeans
tarang-jain 350ee82
update n_init use
tarang-jain 13584b8
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain 46d9754
Merge branch 'main' into minibatch-kmeans
tarang-jain 63a34a3
abstract away commonalities into helpers
tarang-jain de9206a
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain de34c93
fix compilation errors
tarang-jain 29a2358
fix bug, add cpp tests
tarang-jain 4f119ba
style
tarang-jain bf5726b
make cpp tests more rigorous
tarang-jain 74ec728
style
tarang-jain 568904d
fix learning rate bug
tarang-jain 48a776b
revert
tarang-jain b2c8a65
add sample weights
tarang-jain ae2688c
Merge branch 'main' into h-inertia
tarang-jain 4e8f2e4
update impl
tarang-jain 7cc90cb
Merge branch 'h-inertia' of https://github.com/tarang-jain/cuvs into …
tarang-jain d6f4524
fix min_cluster_dist
tarang-jain 1fa9013
update instantiations
tarang-jain 6752349
Merge branch 'main' into h-inertia
tarang-jain 4ccce83
fix all the docs
tarang-jain 18de062
Merge branch 'h-inertia' of https://github.com/tarang-jain/cuvs into …
tarang-jain c3ca46b
style
tarang-jain 02e378b
Merge branch 'h-inertia' of https://github.com/tarang-jain/cuvs into …
tarang-jain 7d6bed8
rm compute_inertia
tarang-jain 6d072f6
fix compute_batched_host_inertia
tarang-jain 55667c9
Merge branch 'main' into minibatch-kmeans
tarang-jain 82c7095
Merge branch 'main' into h-inertia
tarang-jain 30f5ac4
fix style
tarang-jain 705339d
Merge branch 'minibatch-kmeans' of https://github.com/tarang-jain/cuv…
tarang-jain aa9a9e7
rm minibatch
tarang-jain 64b0584
rm extra file
tarang-jain ec48753
fix header includes
tarang-jain 738eea7
address pr reviews
tarang-jain d629ca8
fix python tests, style
tarang-jain c8ac477
fix style
tarang-jain c1482df
Merge branch 'main' of https://github.com/rapidsai/cuvs into batched-…
tarang-jain 13b4084
rm extra c helpers
tarang-jain 0bb59a9
add eof
tarang-jain fa77151
fix docs
tarang-jain 068d66f
address pr reviews; update inertia comp
tarang-jain 8e0be37
revert abi change
tarang-jain c478f87
Merge branch 'main' into batched-kmeans
tarang-jain 0a7f026
rm null dataset norm
tarang-jain ee3ce56
Merge branch 'h-inertia' of https://github.com/tarang-jain/cuvs into …
tarang-jain 10be5c4
add warning when T and MathT are different
tarang-jain cf2708b
Merge branch 'main' into h-inertia
tarang-jain 6a2a681
use raft::mul_op
tarang-jain 4936382
Merge branch 'h-inertia' of https://github.com/tarang-jain/cuvs into …
tarang-jain e7a9b3a
put batch size at the end of the c header struct
tarang-jain 7d8365b
Merge branch 'batched-kmeans' of https://github.com/tarang-jain/cuvs …
tarang-jain 61c881c
Merge branch 'h-inertia' of https://github.com/tarang-jain/cuvs into …
tarang-jain 6439d72
fix c and python compilation
tarang-jain 6a094cb
add docs
tarang-jain 2d14e9a
style
tarang-jain fc54020
Merge branch 'main' into batched-kmeans
tarang-jain 37ce404
correct treatment for optional
tarang-jain 1b3c341
fill outside loop
tarang-jain 914628c
add warning
tarang-jain f1d3f8a
python docs
tarang-jain edad9bb
merge upstream
tarang-jain cb4e8b3
finish merge
tarang-jain 552f736
fix compilation warning
tarang-jain 9c7bbc8
Merge branch 'release/26.04' into batched-kmeans
tarang-jain 7f6e615
optimizations and cleanups
tarang-jain 185a52f
Merge branch 'batched-kmeans' of https://github.com/tarang-jain/cuvs …
tarang-jain 0719636
fix compilation
tarang-jain 1a7b644
style
tarang-jain d4c53ee
address python reviews
tarang-jain 8bec6d5
style
tarang-jain e920ca0
rm batch_size struct
tarang-jain File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.