Question: Question 2: A KNN classifier assigns a test instance the majority class associated with its K nearest training instances. Distance between instances is measured using
Question 2: A KNN classifier assigns a test instance the majority class associated with its K nearest training instances. Distance between instances is measured using Euclidean distance. Suppose we have the following training set of positive (+) and negative (-) instances and a single test instance (o). All instances are projected onto a vector space of two real- valued features (X and Y). Answer the following questions. Assume "unweighted" KNN (every nearest neighbor contributes equally to the final vote). test instance (a) What would be the class assigned to this test instance for K=3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
