Description Usage Arguments Details Value Author(s) See Also
Get cosine distance values for a set of vectors.
1 | cosinedist(M)
|
M |
A numeric matrix. |
Takes a numeric matrix (M) of arbitrary dimension, treats rows of M as vectors and computes the pairwise cosine distances among the rows of M. Return a matrix of pairwise distances with vector magnitudes on the diagonal.
A matrix with pairwise cosine distances in the lower triangle and vector magnitudes on the diagonal.
Dave Braze davebraze@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.