Question: Q2. Consider the following data set, classify instance No. 8 using K Nearest Neighbor (KNN), (K=2). # Age Salary Class 1 17 25 Yes 2
Q2. Consider the following data set, classify instance No. 8 using K Nearest Neighbor (KNN), (K=2). # Age Salary Class 1 17 25 Yes 2 20 36 3 49 59 No No 4 55 74 No 5 25 70 Yes 6 33 Yes 29 31 7 102 No 8 33 88 7 (4 marks)
Step by Step Solution
There are 3 Steps involved in it
To classify instance No 8 using K Nearest Neighbor KNN with K2 we need to calculate the distance of ... View full answer
Get step-by-step solutions from verified subject matter experts
