Mathematica > Distance and Dissimilarity Measures >

DiceDissimilarity

DiceDissimilarity[x, y]
gives the dice dissimilarity between Boolean vectors x and y.
  • 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.
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]=
New in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team