Skip to content

MatchingDissimilarity

MatchingDissimilarity(u, v)

returns the Matching dissimilarity between the two boolean 1-D lists u and v, which is defined as (c_tf + c_ft) / n, where n is len(u) and c_ij is the number of occurrences of u(k)=i and v(k)=j for k<n.

Examples

>> MatchingDissimilarity({1, 0, 1, 1, 0, 1, 1}, {0, 1, 1, 0, 0, 0, 1})
4/7

Implementation status

  • ✅ - full supported

Github