Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

calculate euclidian distance python

from scipy.spatial import distance
a = (1, 2, 3)
b = (4, 5, 6)
dst = distance.euclidean(a, b)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calculate #euclidian #distance #python
ADD COMMENT
Topic
Name
2+2 =