cosine_sim | R Documentation |
cosine_sim
returns the cosine similarity of two vectors
cosine_sim(vec1, vec2)
vec1 |
the first vector |
vec2 |
the second vector |
single numeric value for cosine similarity
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.