RogersTanimotoDissimilarity
Rogers Tanimoto coefficient (WMA)
RogersTanimotoDissimilarity
[u, v]
- returns the Rogers-Tanimoto dissimilarity between the two Boolean 1-D lists u and v, which is defined as $R / (c_{tt} + c_{ff} + R)$ where n is $len(u)$, $c_{ij}$ is the number of occurrences of $u[k]=i$, $v[k]=j$ for $k<n$, and $R = 2 (c_{tf} + c_{ft})$.
RogersTanimotoDissimilarity[{1, 0, 1, 1, 0, 1, 1}, {0, 1, 1, 0, 0, 0, 1}]