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