Description Usage Arguments Details Value
Compute cosine similarity of two numeric vectors
1 | vCosSimilarity(a, b)
|
a |
numeric vector |
b |
numeric vector |
a
and b
are expected to have the same length.
∑(a*b)/√(∑(a^2)∑(b^2))
Numeric value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.