Distance Calculation
In many situations, for example the
similarity measurement, we have to calculate the DISTANCE
between two nodes.
What methods can we use?
2D space:
Full space:
Standardized Euclidean distance
2D space:
Full space:
2D space:
Full space:
2D space:
Full space:
In information theory, the Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different. In other words, it measures the minimum number of substitutions required to change one string into the other, or the minimum number of errors that could have transformed one string into the other.