The Tanimoto coefficient between two points, a and b, with k dimensions is calculated as:
The Tanimoto similarity is only applicable for a binary variable, and for binary variables the Tanimoto coefficient ranges from 0 to +1 (where +1 is the highest similarity).
See also: