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

what kind of "distance" used in the "KMeans_rcpp"? #56

Closed
A-Pai opened this issue Sep 18, 2024 · 3 comments
Closed

what kind of "distance" used in the "KMeans_rcpp"? #56

A-Pai opened this issue Sep 18, 2024 · 3 comments
Labels

Comments

@A-Pai
Copy link

A-Pai commented Sep 18, 2024

what kind of "distance" used in the "KMeans_rcpp"? It doesn't seem to be in the manual,Can this be ignored?

@mlampros
Copy link
Owner

mlampros commented Sep 18, 2024

@A-Pai observations will be assigned to clusters based on the Within Sum of Squared Error (WSSE)

@A-Pai
Copy link
Author

A-Pai commented Sep 19, 2024

@A-Pai observations will be assigned to clusters based on the Within Sum of Squared Error (WSSE)

squared euclidian distance?why?

@mlampros
Copy link
Owner

I implemented this function a few years back, but you can have a look on the web why this specific metric is used for kmeans clustering. There are various resources.
I'll close the issue for now and feel free to re-open if the code does not work as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants