This is documentation for an old release of SciPy (version 0.12.0). Read this page in the documentation of the latest stable release (version 1.15.1).
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
|