CosineDistance
CosineDistance[u,v]
gives the angular cosine distance between vectors u and v.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (2)Survey of the scope of standard use cases
Applications (1)Sample problems that can be solved with this function
Properties & Relations (3)Properties of the function, and connections to other functions
Cosine distance includes a dot product scaled by norms:

https://wolfram.com/xid/0bnhtx59v3qi6-g7irif


https://wolfram.com/xid/0bnhtx59v3qi6-d0q2f

Cosine distance includes a dot product scaled by Euclidean distances from the origin:

https://wolfram.com/xid/0bnhtx59v3qi6-dl0re8

https://wolfram.com/xid/0bnhtx59v3qi6-b836g


https://wolfram.com/xid/0bnhtx59v3qi6-1npjt

CosineDistance of vectors shifted by their means is equivalent to CorrelationDistance:

https://wolfram.com/xid/0bnhtx59v3qi6-gorn6

https://wolfram.com/xid/0bnhtx59v3qi6-s0rv3

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