The Jaccard index is a standard measure of similarity between two sample sets, A and B, and is defined as the size of the intersection divided by the size of the union of the sample sets:J(A,B)=|A∩B||A∪B|.