RussellRaoDissimilarity
RussellRaoDissimilarity(u, v)
returns the Russell-Rao dissimilarity between the two boolean 1-D lists
u
andv
, which is defined as(n - c_tt) / c_tt
wheren
islen(u)
andc_ij
is the number of occurrences ofu(k)=i
andv(k)=j
fork<n
.
Examples
>> RussellRaoDissimilarity({1, 0, 1, 1, 0, 1, 1}, {0, 1, 1, 0, 0, 0, 1})5/7
Implementation status
- ✅ - full supported