Description Usage Arguments Value Examples
Calculate cosine similarity metric
1 | cosine(ainterb, lengtha, lengthb)
|
ainterb |
integer value with number of intersecting elements between set a and b |
lengtha |
integer value with the number of items in set a |
lengthb |
integer value with the number of items in set b |
cosine double vlaue with the cosine similarity coefficient
1 2 3 4 | ## Not run:
cosine(1,3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.