View source: R/cosine-similarity.R
cosine_similarity | R Documentation |
Computes the cosine similarity between two numeric vectors.
cosine_similarity(x, y)
x |
Numeric vector 1. |
y |
Numeric vector 2. |
Cosine similarity, as a numeric scalar.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.