-
Notifications
You must be signed in to change notification settings - Fork 54
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
Parallel initialization for k-means #1754
Open
Hakdag97
wants to merge
3
commits into
main
Choose a base branch
from
features/1674-Optimization_of_k-means_initialization
base: main
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.
Open
Parallel initialization for k-means #1754
Hakdag97
wants to merge
3
commits into
main
from
features/1674-Optimization_of_k-means_initialization
Conversation
This file contains 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
Thank you for the PR! |
Hakdag97
force-pushed
the
features/1674-Optimization_of_k-means_initialization
branch
from
January 6, 2025 10:38
0889330
to
7f860c4
Compare
github-actions
bot
added
cluster
core
features
testing
Implementation of tests, or test-related issues
labels
Jan 6, 2025
Thank you for the PR! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1754 +/- ##
==========================================
+ Coverage 92.26% 92.45% +0.18%
==========================================
Files 84 84
Lines 12445 12438 -7
==========================================
+ Hits 11482 11499 +17
+ Misses 963 939 -24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
JuanPedroGHM
changed the title
Features/1674 optimization of k means initialization
Optimization of k means initialization
Jan 13, 2025
ClaudiaComito
changed the title
Optimization of k means initialization
Parallel initialisation for k-means
Jan 13, 2025
Hakdag97
changed the title
Parallel initialisation for k-means
Parallel initialization for k-means
Jan 13, 2025
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.
Description
The bottleneck of k-means clustering (concerning runtime) is the initialization of centroids, which was previously built on a cost intensive serial algorithm. The aim of this pull request is to replace this algorithm by the more sophisticated k-means || initialization of centroids.
Issue/s resolved:
Changes proposed:
Type of change
Performance
split=None
andsplit not None
by (at least) an order of magnitude (depending on the setting concerning, e.g., size of data and chosen parameters)Does this change modify the behaviour of other functions? If so, which?