Euclidean distance
This is taxicab geometry. You move from X to Y. Each square is 1.
They are the same line. This is called Manhattan distance. n is the dimension. Then, this is Euclidean norm. This is 1*1 squares.
∴
There are 25 suares, so K=25. √50≒7.07.
50=5^2+5^2. This is the green.
Red:1+2+2+1+2+2=10
Green:5+5=10
They are the same line. This is called Manhattan distance. n is the dimension. Then, this is Euclidean norm. This is 1*1 squares.
∴
There are 25 suares, so K=25. √50≒7.07.
50=5^2+5^2. This is the green.





コメント