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 .
u : ndarray
An -dimensional vector.
v : ndarray
d : double
The Russell-Rao dissimilarity between vectors u and v.
scipy.spatial.distance.rogerstanimoto
scipy.spatial.distance.seuclidean
Enter search terms or a module, class or function name.