# Jaccard Set Similarity Measure

(Redirected from Jaccard Distance)

A Jaccard set similarity measure is a set distance function that is based on the ratio of the set difference and the set union.

## References

### 2017

• (Wikipedia, 2017) ⇒ https://en.wikipedia.org/wiki/Jaccard_index Retrieved:2017-6-2.
• The Jaccard index, also known as Intersection over Union and the Jaccard similarity coefficient (originally coined coefficient de communauté by Paul Jaccard), is a statistic used for comparing the similarity and diversity of sample sets. The Jaccard coefficient measures similarity between finite sample sets, and is defined as the size of the intersection divided by the size of the union of the sample sets: : $J(A,B) = = .$ (If A and B are both empty, we define J(A,B) = 1.) : $0\le J(A,B)\le 1.$ The Jaccard distance, which measures dissimilarity between sample sets, is complementary to the Jaccard coefficient and is obtained by subtracting the Jaccard coefficient from 1, or, equivalently, by dividing the difference of the sizes of the union and the intersection of two sets by the size of the union: : $d_J(A,B) = 1 - J(A,B) = { { |A \cup B| - |A \cap B| } \over |A \cup B| }.$ An alternate interpretation of the Jaccard distance is as the ratio of the size of the symmetric difference $A \triangle B = (A \cup B) - (A \cap B)$ to the union.

This distance is a metric on the collection of all finite sets. [1] [2]

There is also a version of the Jaccard distance for measures, including probability measures. If $\mu$ is a measure on a measurable space $X$, then we define the Jaccard coefficient by $J_\mu(A,B) =$ , and the Jaccard distance by $d_\mu(A,B) = 1 - J_\mu(A,B) =$ . Care must be taken if $\mu(A \cup B) = 0$ or $\infty$ , since these formulas are not well defined in that case.

The MinHash min-wise independent permutations locality sensitive hashing scheme may be used to efficiently compute an accurate estimate of the Jaccard similarity coefficient of pairs of sets, where each set is represented by a constant-sized signature derived from the minimum values of a hash function.

### 2009

2. Cite error: Invalid <ref> tag; no text was provided for refs named lipkus