Description Usage Arguments Value
Calculate cosine similarity between a vector and the rows of a matrix
1 |
x |
A numeric vector of length |
m |
An |
Returns a vector of length N
containing the cosine similarity between
the vector x
and all the rows of m
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.