[FEA] Add haversine metric to cuml.neighbors.NearestNeighbors #3143
Labels
CUDA / C++
CUDA issue
feature request
New feature or request
New Prim
For tracking new prims that will be added to our existing collection
Is your feature request related to a problem? Please describe.
While porting some code from SKL to cuML, I have noticed that haversine metric is not supported in
cuml.neighbors.NearestNeighbors
.Describe the solution you'd like
To have haversine metric available in cuML.
Describe alternatives you've considered
We have try to work around it by converting (latitude, longitude) to (northing, easting) coordinates, and then using
Euclidean
metric . Nevertheless, there are well-known precision issues with that conversion when the distance is lower than 3 meters, if I recall correctly.Additional context
Add any other context, code examples, or references to existing implementations about the feature request here.
The text was updated successfully, but these errors were encountered: