KristofferC / NearestNeighbors.jl

High performance nearest neighbor data structures (KDTree and BallTree) and algorithms for Julia.
Other
413 stars 65 forks source link

1.0 road map #180

Open KristofferC opened 2 months ago

KristofferC commented 2 months ago

This was my very first package and looking at this with a set of more experienced eyes there are quite a few changes I want to make to APIs etc. Some of those will be somewhat breaking but I think it is worth it.

More to come

KristofferC commented 2 months ago

CC some people that I know use this package: @juliohm, @fredrikekre

aplavin commented 1 month ago

Wonder if there are any plans for adding multidimensional inrange search? Implementation is very short: https://github.com/JuliaAPlavin/FlexiJoins.jl/blob/00000000ca2fe5eace0b881caa8d2258ca6154ee/src/nearestneighbors.jl#L32-L52 https://github.com/KristofferC/NearestNeighbors.jl/pull/150

aplavin commented 1 month ago

Also, what about supporting arbitrary types, at least for BallTree? Stuff like strings or even custom objects can be useful with distance searches. https://github.com/JuliaAPlavin/FlexiJoins.jl/issues/8

KristofferC commented 1 month ago

Wonder if there are any plans for adding multidimensional inrange search?

Sounds like a good idea!

KristofferC commented 1 month ago

Also, what about supporting arbitrary types, at least for BallTree?

I don't think that should be too hard, we would "just" have to relax some assumptions of what types are used for the data etc.