Question: Using weighted KNN where K=5 (highlighted in the table), find the class value for the test data: a) What is the sum of weights for

Using weighted KNN where K=5 (highlighted in the table), find the class value for the test data: a) What is the sum of weights for class=yes? (round up the sum to the nearest integer, such as 45.145 or 45.846 ) b) What is the sum of weights for class=no? (round up the sum to the nearest integer, such as 45.145 or 45.846 ) c) What should be the class value for the test data? (1/0)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
