[Numpy-discussion] distance matrix and (weighted) p-norm

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Sep 2 21:06:47 CDT 2008


Emanuele Olivetti wrote:
> Hi,
>
> I'm trying to compute the distance matrix (weighted p-norm [*])
> between two sets of vectors (data1 and data2). Example:
>   

You may want to look at scipy.cluster.distance, which has a bunch of
distance matrix implementation. I believe most of them have optional
compiled version, for fast execution.

cheers,

David


More information about the Numpy-discussion mailing list