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