欧拉距离(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.(?)
第二句话不太明白?


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM