CosineDistance
CosineDistance[u,v]
gives the angular cosine distance between vectors u and v.
Examples
open allclose allScope (2)
Properties & Relations (3)
Cosine distance includes a dot product scaled by norms:
Cosine distance includes a dot product scaled by Euclidean distances from the origin:
CosineDistance of vectors shifted by their means is equivalent to CorrelationDistance:
Text
Wolfram Research (2007), CosineDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/CosineDistance.html.
CMS
Wolfram Language. 2007. "CosineDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CosineDistance.html.
APA
Wolfram Language. (2007). CosineDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CosineDistance.html