摘要:
Machine Learning 中的距离和相似性计算 l 欧式距离 也称欧几里得距离,指在m维空间中两个点之间的真实距离。 两个n维向量与间的欧式距离表示为: 用python实现为 from math import sqrt def distance(a,b): """ 求a,b之间的欧式距离 : 阅读全文
posted @ 2022-04-15 20:54
又到了磨代码了
阅读(204)
评论(0)
推荐(0)
浙公网安备 33010602011771号