Manhattan Distance
2차원 좌표계의 경우 x축 거리의 차이와 y축 거리의 차이의 합이다
Euclidean distance
2차원 좌표계의 경우 x축 거리의 차이의 제곱과 y축 거리의 차이의 제곱의 합의 제곱근이다
참고문서
https://ko.wikipedia.org/wiki/맨해튼_거리
https://ko.wikipedia.org/wiki/유클리드_거리
'학습 > 알고리즘' 카테고리의 다른 글
K-means Algorithm (0) | 2022.04.23 |
---|
댓글