The Jaccard coefficient measures the similarity of finite sets, and it’s based on how much two finite sets share the same elements.

It ranges in the interval.

Since we use distance instead of similarity most of the times, it’s better to use the Jaccard distance, that’s defined as: