DiceDissimilarity

DiceDissimilarity[x,y]

gives the Dice dissimilarity between Boolean vectors x and y.

Details

  • 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.

Examples

open allclose all

Basic Examples  (2)

Dice dissimilarity between two 0, 1 vectors:

In[1]:=
Click for copyable input
Out[1]=

Dice dissimilarity between two Boolean vectors:

In[1]:=
Click for copyable input
Out[1]=

Scope  (2)

Applications  (2)

Properties & Relations  (4)

See Also

JaccardDissimilarity  MatchingDissimilarity  SokalSneathDissimilarity  RogersTanimotoDissimilarity  RussellRaoDissimilarity  YuleDissimilarity

Tutorials

Introduced in 2007
(6.0)