Instance Based Learning Flashcards

1
Q

What is the assumption of Inductive Bias in k-Nearest Neighbours?

A

Class of instance Xq is the most similar to the class of other instances that are “nearby”

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

What are the components of an IBL algorithm?

A

Distance function

Classification method

Memory updating

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

What is the distance function?

A

It returns a measure of the distance between 2 instances

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

What is the classification method component?

A

1-nearest neighbour (1-NN): the new instance (from test set) is assigned the class of its nearest neighbour (from the training set)

K-nearest neighbour (K-NN): the new instance is assigned the majority class in the K nearest neighbours (K is normally set to 3, 5, etc)

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

What is the memory updating component?

A

Simplest approach: saves all training examples (but takes lots of memory and processing time)

“intelligent” methods select the most relevant instances

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

What is the motivation for attribute weighting?

A

Different attributes have different degrees of relevance

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

What are the advantages of IBL?

A

Simplicity

Suitable for complex problems, with strong attribute interaction

Incremental (new data can be added immediately, don’t need to re-build the model)

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

What are disadvantages of IBL?

A

Classification of test instances is slow

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

In the context of data mining, what do K-NNs return for IBL?

A

They return a very specific explanation for the classification. I.e., the nearest neighbour(s) but not a generalised explanation (rule)

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