-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Implement all scipy.spatial.distance
metrics in _distance_pybind
#14077
Comments
The following comment has been carried around in various distance issues for a while. I was wondering to open specific issues for that, but it seems that if a rewrite happens, the points would naturally fit already...? Quote of comment for reference
AFAICT [this has been edited over time],
|
@peterbell10 @h-vetinari Seems like there is a lot to do here. Can I help with some of the distance metrics? |
Following distance measure might be tricky to fit in the current C++ pybind framework,
Rest of the distance metrics can be easily added into the pybind framework. For the above 6 we need to figure out whether to add them separately or factor out some common parts among these metrics and then change the framework. It might be a tricky task. |
|
This issue is to track progress of migrating
scipy.spatial.distance
per-metriccdist
/pdist
implementations from the original_distance_wrap
module to the new_distance_pybind
module and C++ framework (gh-13907).Some of these metrics operate on
bool
input, which isn't supported by the framework yet. But for most, it's just a case of writing the core distance calculation.Metrics
The text was updated successfully, but these errors were encountered: