📜  numpy 数组之间的距离 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:14.534000             🧑  作者: Mango

代码示例1
dist = numpy.linalg.norm(a-b, ord=2) #ord=2 is default and means Euclidean distance, but I'm showing here that you can specify it