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:

Wolfram Research (2007), CanberraDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/CanberraDistance.html.

Text

Wolfram Research (2007), CanberraDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/CanberraDistance.html.

CMS

Wolfram Language. 2007. "CanberraDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CanberraDistance.html.

APA

Wolfram Language. (2007). CanberraDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CanberraDistance.html

BibTeX

@misc{reference.wolfram_2024_canberradistance, author="Wolfram Research", title="{CanberraDistance}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CanberraDistance.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_canberradistance, organization={Wolfram Research}, title={CanberraDistance}, year={2007}, url={https://reference.wolfram.com/language/ref/CanberraDistance.html}, note=[Accessed: 22-November-2024 ]}