Nearest Neighbours Flashcards

1
Q

What type of method is nearest neighbours?

A

Non-parametric

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

How does nearest neighbours work?

A

We store a large amount of training data. When the AI is fed a test sample, it compares it with the training data to find the closest match

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

What data is required for nearest neighbours?

A

We need to store and keep all data

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

What does “k-nearest” mean?

A

When finind the nearest matches, we can average k number of close points to get a better average

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

How does nearest neighbours scale with dimensions?

A

In few dimensions, it works well. In larger dimensions, it is very hard.

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

How does k affect the boundary?

A

> A low value of k makes a much rougher boundary

> A high value of k makes a much smoother boundary

[Picture 5]

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

What is a KD-tree?

A

For finding neighbours in a large number of dimensions, we use a KD tree. The tree can be easily navigated to find the point

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