scipy.spatial.distance.seuclidean(u, v, V)

Returns the standardized Euclidean distance between two n-vectors u and v. V is an m-dimensional vector of component variances. It is usually computed among a larger collection vectors.

Parameters :

u : ndarray

An n-dimensional vector.

v : ndarray

An n-dimensional vector.

Returns :

d : double

The standardized Euclidean distance between vectors u and v.

Previous topic


Next topic


This Page