Measure similarity and diversity between finite sample sets.
The Jaccard Index measures similarity between finite sample sets, defined as the size of the intersection divided by the size of the union.
J(A,B) = |A ∩ B| / |A ∪ B|Range: 0 to 1
1: Identical sets
0: No common elements
Distance: 1 - Jaccard Index