CanberraDistance

CanberraDistance[u,v]

gives the Canberra distance between vectors u and v.

Details

Examples

open allclose all

Basic Examples  (2)

Canberra distance between two vectors:

Canberra distance between numeric vectors:

Scope  (2)

Compute distance between any vectors of equal length:

Compute distance between vectors of any precision:

Applications  (2)

Cluster data using Canberra distance:

Demonstrate the triangle inequality:

Properties & Relations  (2)

Canberra distance is a sum of scaled absolute differences:

CanberraDistance is equivalent to a Norm of scaled differences:

Introduced in 2007
 (6.0)