wmayner / pyemd

Fast EMD for Python: a wrapper for Pele and Werman's C++ implementation of the Earth Mover's Distance metric

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can distance_matrix be sparse matrix?

manishbansal-fk opened this issue · comments

No, because the distance matrix is passed to the C++ library that does the optimization. This library doesn't support dealing with sparse matrices. You're welcome to submit a PR if this is an important feature for you, but it will be a lot of work.

Thanks for update !!

Just curious which C++ lib pyemd uses ?

See the first sentence of the README. The code is in pyemd/lib.