Question: Problem #1 (20 points) Table I shows a data set with 10 observations. K-Nearest Neighbors classification is performed with K-4. Table 1: Data set for

Problem #1 (20 points) Table I shows a data set
Problem #1 (20 points) Table I shows a data set with 10 observations. K-Nearest Neighbors classification is performed with K-4. Table 1: Data set for K-Nearest Neighbors classification 1 2 3 4 5 6 7 8 9 10 x -0.06 0.22 0.36 -0.08 0.11 0.02 0.19 0.16 0.09 0.03 YA A B B A A B A (1) Based on the euclidean distance, determine the predicted classes for these 10 observations, i.e.. P.,i = 1,...,10. (10 points) (2) Provide the confusion matrix and calculate the mis-classification error rate. (6 points) (3) For 4 new data points X1 = 0.05. X3 = -0.05, Xz = 0.15 and X4 = -0.15, what are the corre- sponding predicted classes, i.e., Y, Y, Y and Y? (4 points) Dunklars #/10 out Problem #1 (20 points) Table I shows a data set with 10 observations. K-Nearest Neighbors classification is performed with K-4. Table 1: Data set for K-Nearest Neighbors classification 1 2 3 4 5 6 7 8 9 10 x -0.06 0.22 0.36 -0.08 0.11 0.02 0.19 0.16 0.09 0.03 YA A B B A A B A (1) Based on the euclidean distance, determine the predicted classes for these 10 observations, i.e.. P.,i = 1,...,10. (10 points) (2) Provide the confusion matrix and calculate the mis-classification error rate. (6 points) (3) For 4 new data points X1 = 0.05. X3 = -0.05, Xz = 0.15 and X4 = -0.15, what are the corre- sponding predicted classes, i.e., Y, Y, Y and Y? (4 points) Dunklars #/10 out

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 General Management Questions!