This is documentation for an old release of SciPy (version 0.10.1). Read this page in the documentation of the latest stable release (version 1.15.1).
Computes the Sokal-Michener dissimilarity between two boolean vectors u and v, which is defined as
where is the number of occurrences of
and
for
,
and
.
Parameters : | u : ndarray
v : ndarray
|
---|---|
Returns : | d : double
|