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 Russell-Rao dissimilarity between two boolean n-vectors u and v, which is defined as
where is the number of occurrences of
and
for
.
Parameters : | u : ndarray
v : ndarray
|
---|---|
Returns : | d : double
|