Write a python program to compute Euclidian Distance between two data points in a dataset. [Hint: Use linalgo.norm function from NumPy]
import numpy as np
point1=np.array([1,2,3])
point2=np.array([1,1,3])
dist=np.linalgo.norm(point1-point2)
print(dist)
Comments
Post a Comment