- DiceDissimilarity works for both True, False vectors and 0, 1 vectors.
- DiceDissimilarity[u,v] is equivalent to (n10+n01)/(2n11+n10+n01), where nij is the number of corresponding pairs of elements in u and v respectively equal to i and j.
Examplesopen allclose all
Basic Examples (2)
Dice dissimilarity between two 0, 1 vectors:
Dice dissimilarity between two Boolean vectors:
Compute dissimilarity between any 0, 1 vectors of equal length:
Compute dissimilarity between any True, False vectors of equal length:
Cluster binary data using Dice dissimilarity:
Cluster True, False data using Dice dissimilarity:
Properties & Relations (4)