欧拉距离(Euclidean distance)

a=[2400,156000]
b=[1950,126750]
np.linalg.norm(a-b)
29253.461333661013
a=[240,15600]
b=[195,12675]
np.linalg.norm(a-b)
2925.346133366101

Additionally, Euclidean distance multiplies the effect of redundant information in the dataset. If I had five variables which are heavily correlated and we take all five variables as input, then we would weight this redundancy effect by five.(?)
第二句话不太明白?

原文地址:https://www.cnblogs.com/yaos/p/14014176.html