Question: 9. Given following data (from Iris dataset) compute Euclidian distance between observation 1 and 2 and Manhattan distance between observations 2 and 3 sepal.length sepal.width

 9. Given following data (from Iris dataset) compute Euclidian distance between

9. Given following data (from Iris dataset) compute Euclidian distance between observation 1 and 2 and Manhattan distance between observations 2 and 3 sepal.length sepal.width petal.length 5.1 3.5 1.4 3 1.4 petal.width 0.2 4.9 0.2 4.7 3.2 1.3 0.2 5.5 2.5 4 1.3 5.5 2.6 4.4 1.2 6.1 3 4.6 1.4 5.8 4 1.2 2.6 2.3 5 3.3 1 2.7 4.2 1.3 5.6 6.2 3.4 5.4 2.3 5.9 3 5.1 1.8 Euclidian distance between two points with coordinates (X1, X2... x) and (yY2Y) d = V(x1 - x1) + (y2 x2)+.. + (yn xn). Manhattan (taxicab) distance between two points with coordinates (X1, X2... x) and (y Y2y) d = | x1| + |2 = x2] + .. + y = xr| a. 0.538516 and 0.5 b. 8.8107 and 18.5 2.58 and 2.35654 c. d. None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!