Description Usage Arguments Value Examples
Function metric.euclid calculates cosine distance between two vectors
1 | metric.cos(v1, v2)
|
v1 |
vector first |
v2 |
vector second |
distance between two vectors
1 | metric.cos(c(1,2,3), c(2,3,4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.