Rahul Sharma (Editor)

Canberra distance

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

The Canberra distance is a numerical measure of the distance between pairs of points in a vector space, introduced in 1966 and refined in 1967 by G. N. Lance and W. T. Williams. It is a weighted version of L₁ (Manhattan) distance. The Canberra distance has been used as a metric for comparing ranked lists and for intrusion detection in computer security.

Definition

The Canberra distance d between vectors p and q in an n-dimensional real vector space is given as follows:

d ( p , q ) = i = 1 n | p i q i | | p i | + | q i |

where

p = ( p 1 , p 2 , , p n )  and  q = ( q 1 , q 2 , , q n )

are vectors.

References

Canberra distance Wikipedia


Similar Topics