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 haversine distance metric #18

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

vihu
Copy link
Contributor

@vihu vihu commented Sep 8, 2024

Summary

  • This adds support for haversine distance metric
  • Fix CI to point to correct branch

Summary
----
- This adds support for `haversine` distance metric
- Fix CI to point to correct branch
Copy link
Owner

@tom-whitehead tom-whitehead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good thanks for this. I guess it's not ideal that we're hard coding the radius as in theory people might want to be clustering on different size spheres, but there isn't much flexibility in how I implemented it.
If I can ever make the time I plan to do a major version bump down the line and clean up the API to allow people to implement their own distance metrics.

@tom-whitehead tom-whitehead merged commit 5a00ba3 into tom-whitehead:master Sep 9, 2024
1 check passed
@vihu vihu deleted the rg/haversine branch September 9, 2024 15:23
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 this pull request may close these issues.

2 participants