# Suppose that the similarity between an object O and 6 other objects in the database A,B,C,D,E and F are as follows:?

Suppose that the similarity between an object O and 6 other objects
in the database A,B,C,D,E and F are as follows:
sim(A,O) = 0.1
sim(B,O) = 0.3
sim(C,O) = 0.85
sim(D,O) = 0.8
sim(E,O) = 0.9
sim(F,O) = 0.6
Also, suppose objects A, B and C are in class 1 and
D,E and F are in class 2.
With k=4, what class should O...
show more
Suppose that the similarity between an object O and 6 other objects

in the database A,B,C,D,E and F are as follows:

sim(A,O) = 0.1

sim(B,O) = 0.3

sim(C,O) = 0.85

sim(D,O) = 0.8

sim(E,O) = 0.9

sim(F,O) = 0.6

Also, suppose objects A, B and C are in class 1 and

D,E and F are in class 2.

With k=4, what class should O be in, using the kNN algorithm?

With k=2, what class should O be in, using the kNN algorithm?

in the database A,B,C,D,E and F are as follows:

sim(A,O) = 0.1

sim(B,O) = 0.3

sim(C,O) = 0.85

sim(D,O) = 0.8

sim(E,O) = 0.9

sim(F,O) = 0.6

Also, suppose objects A, B and C are in class 1 and

D,E and F are in class 2.

With k=4, what class should O be in, using the kNN algorithm?

With k=2, what class should O be in, using the kNN algorithm?

Follow

1 answer
1

Are you sure you want to delete this answer?