Computes the Mahalanobis distance between two n-vectors u and v, which is defined as
where V is the covariance matrix. Note that the argument VI is the inverse of V.
u : ndarray
An -dimensional vector.
v : ndarray
VI : ndarray
The inverse of the covariance matrix.
d : double
The Mahalanobis distance between vectors u and v.
scipy.spatial.distance.kulsinski
scipy.spatial.distance.matching
Enter search terms or a module, class or function name.