Computes the Canberra distance between two n-vectors u and v, which is defined as
u : ndarray
An -dimensional vector.
v : ndarray
d : double
The Canberra distance between vectors u and v.
Notes
When u[i] and v[i] are 0 for given i, then the fraction 0/0 = 0 is used in the calculation.
scipy.spatial.distance.braycurtis
scipy.spatial.distance.chebyshev
Enter search terms or a module, class or function name.