Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

SciPy Euclidean Distance

from scipy.spatial.distance import euclidean

p1 = (1, 0)
p2 = (10, 2)


res = euclidean(p1, p2)
print(res)
 
PREVIOUS NEXT
Tagged: #SciPy #Euclidean #Distance
ADD COMMENT
Topic
Name
9+9 =