- scipy.spatial.distance.yule(u, v)¶
Computes the Yule dissimilarity between two boolean 1-D arrays.
The Yule dissimilarity is defined as
where is the number of occurrences of and for and .
u : (N,) array_like, bool
v : (N,) array_like, bool
yule : double
The Yule dissimilarity between vectors u and v.