WLJS LogoWLJS Notebook

RogersTanimotoDissimilarity

RogersTanimotoDissimilarity[u,v] gives the Rogers–Tanimoto dissimilarity between Boolean vectors u and v.

Examples

Compute dissimilarity between two Boolean vectors:

RogersTanimotoDissimilarity[{1, 0, 1, 1}, {1, 1, 0, 1}]
(* 1/2 *)

Identical vectors have zero dissimilarity:

RogersTanimotoDissimilarity[{1, 0, 1}, {1, 0, 1}]
(* 0 *)

Please visit the official Wolfram Language Reference for more details.

On this page