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

Add K-Medians support #99

Closed
anjali-rgpt opened this issue Aug 30, 2021 · 1 comment · Fixed by #100
Closed

Add K-Medians support #99

anjali-rgpt opened this issue Aug 30, 2021 · 1 comment · Fixed by #100

Comments

@anjali-rgpt
Copy link
Contributor

Proposed feature:

K-Medians is different from K-Medoids, because it primarily uses Manhattan distance and unlike K-Means, it calculates the median of the cluster to form the centroid, thus making it more robust to noise and outliers.
Additionally, while K-Medoids requires that cluster centers are actual samples, K-Medians (like K-Means) can create new data points as centers to minimize the total intra-cluster distance. By default, this is Manhattan distance but it can be done with others as well.

@anjali-rgpt
Copy link
Contributor Author

@nidhaloff This is another enhancement / contribution which I have resolved with a PR

@nidhaloff nidhaloff linked a pull request Aug 31, 2021 that will close this issue
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 a pull request may close this issue.

1 participant