Hamming distance between two bit strings.
Hamming distance between two bit strings. Note that we treat each integer in the input array as a bit string. In contrast, HammingDistance treats each integer in the input array as a single value.
Mean Mahantan distance.
Mean Mahantan distance. Compared to regular Manhattan distance, it normalizes the distance by the sum of contingency table values.
Pattern difference distance.
Pattern difference distance.
Shape Difference distance.
Shape Difference distance.
Size Difference distance.
Size Difference distance.
Vari distance class.
Vari distance class.
Build the contingency matrix (a, b, c, d) where for each bite i, j of vector 1 and 2 :
Build the contingency matrix (a, b, c, d) where for each bite i, j of vector 1 and 2 :
Distance functions.