Data mining15

0. Suppose, you have given the following data where x and y are the 2 input variables and Class is the dependent variable.
xyClass
-11-
01+
02-
1-1-
10+
12+
22-
23+
Below is a scatter plot which shows the above data in 2D space.

Suppose, you want to predict the class of new data point x=1 and y=1 using Eucledian distance in 3-NN. In which class this data point belong to?

  • Option : A
  • Explanation :
    All three nearest point are of +class so this point will be classified as +class.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *