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
.
Parameters : | u : (N,) ndarray, bool
v : (N,) ndarray, bool
|
---|---|
Returns : | dice : double
|