scipy.spatial.distance.seuclidean

scipy.spatial.distance.seuclidean(u, v, V)[source]

Returns the standardized Euclidean distance between two n-vectors u and v. V is an n-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.

V : ndarray

An n-dimensional vector.

Returns :

d : double

The standardized Euclidean distance between vectors u and v.

Previous topic

scipy.spatial.distance.russellrao

Next topic

scipy.spatial.distance.sokalmichener