Jaccard index (source code)

= Jaccard index
{c}
{title2=$J(A,B)=|A\cap B|/|A\cup B|$}
{wiki}

= Jaccard coefficient
{c}
{synonym}

The index measures similarity of finite sets by shared presence relative to total presence. For binary profiles it ignores joint absences, unlike the <simple matching coefficient>. When both sets are empty, define the similarity to be one. The complementary <Jaccard distance> measures dissimilarity.