Computes the Dice dissimilarity between two boolean 1-D arrays.
The Dice dissimilarity between u and v, is
where is the number of occurrences of and for .
u : (N,) ndarray, bool
Input 1-D array.
v : (N,) ndarray, bool
dice : double
The Dice dissimilarity between 1-D arrays u and v.
scipy.spatial.distance.cosine
scipy.spatial.distance.euclidean
Enter search terms or a module, class or function name.