Description Usage Arguments Value
View source: R/compute_similarity.R
Cosine distance
1 | cosine(vec1, vec2)
|
vec1 |
test vector |
vec2 |
reference vector |
numeric value of cosine distance between the vectors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.