Jaccard similarity
A similarity measure for two sets or yes-no characteristics: the number of shared elements divided by the number of all elements that occur in at least one set. Shared absence does not count.
Example: Person A has characteristics 1, 2, 3, 4, person B has 3, 4, 5. Shared are 2, a total of 5 occur: 2/5 = 0.4.
Caution: The value is meaningful only if the presence of a characteristic says more than its absence. The Jaccard distance is 1 minus the similarity.