Question: Consider the following dataset with six examples: 3 10 211 Red 17 -17 9Blue 4 9 2 Red 4 0 2-5Blue 8 -1 6 12

Consider the following dataset with six examples: 3 10 211 Red 17 -17 9Blue 4 9 2 Red 4 0 2-5Blue 8 -1 6 12 Blue 19 3 23 1Red (a) For a new testing example, x,-0.0. x2-0.0, x3-0.0, x4-0.0. write the distance to each of the training examples and indicate the prediction made by 1-NN and 3-NN using Euclidean distance. (6 points) (b) For a new testing example. x1 0.0. x2 0.0, = 0.0, x4-0.0, write the distance to each of the training examples and indicate the prediction made by 1-NN and 3-NN using Manhattarn distance. (6 points) (c) What is the Leave-One-Out-Cross-Validation (LOOCV) error rate of 1-NN using Manhattan distance on this dataset? Indicate which examples (if any) contribute to the error rate. (6 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
