Topic 15 Flashcards

(2 cards)

1
Q

Probability That a Test Item x0 Belongs to Class j

A

Can be estimated from the known class assignments of the training items that are closest to x0 in the feature space.
For a positive integer K and a test item x0:
Find N0, the set of K training items that are nearest to x0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Probability K Nearest Neighbour Equation

A

Pr(class=j | feature = x0) = 1/K Σi∈N0 I(yi = class j) where I = indicator function, true / false = 1 / 0, K usually chosen to be odd. More simply, just the proportion of neighbours that are the given class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly