Description Usage Arguments Value Examples
Computes the Jaccard similarity between x and y. When both x and y only contain zeroes, the Jaccard similarity it not defined. This function returns zero for that specific case.
1 | jaccard(x, y)
|
x |
A vector of zeroes and ones. |
y |
A vector of zeroes and ones. |
The Jaccard similarity between x and y.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.