I'll open an issue for it, thanks.

-Júlio

2015-10-23 15:28 GMT-07:00 Júlio Hoffimann <[email protected]>:

> Hi,
>
> I want to make the Hausdorff distance (
> https://en.wikipedia.org/wiki/Hausdorff_distance) available in Julia, is
> the Distances.jl package a good fit or I should create a separate package
> just for this distance between point sets?
>
> I can think of a very simple (naive) implementation:
>
> using Distances
>
> A, B # matrices which columns represent the points in the pointset
> D = pairwise(Euclidean(), A, B)
> daB = maximum(minimum(D,2))
> dbA = maximum(minimum(D,1))
> result = max(daB, dbA)
>
> -Júlio
>

Reply via email to