Computes the Dice dissimilarity between two boolean n-vectors u and v, which is
where is the number of occurrences of and for .
u : ndarray
An -dimensional vector.
v : ndarray
d : double
The Dice dissimilarity between vectors u and v.
scipy.spatial.distance.cosine
scipy.spatial.distance.euclidean
Enter search terms or a module, class or function name.