import math
def euclidean_distance(x, y):
distance = 0
for i,j in zip(x, y):
distance += (i - j) ** 2
return math.sqrt(distance)
Euclidean Distance
Function to find the euclidean distance between two coordinate points.
0 Comments
Add Comment
Log in to add a comment