This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

CanberraDistance

CanberraDistance
gives the Canberra distance between vectors u and v.
Canberra distance between two vectors:
Canberra distance between numeric vectors:
Canberra distance between two vectors:
In[1]:=
Click for copyable input
Out[1]=
 
Canberra distance between numeric vectors:
In[1]:=
Click for copyable input
Out[1]=
Compute distance between any vectors of equal length:
Compute distance between vectors of any precision:
Cluster data using Canberra distance:
Demonstrate the triangle inequality:
Canberra distance is a sum of scaled absolute differences:
CanberraDistance is equivalent to a Norm of scaled differences:
New in 6