SVM Flashcards

1
Q

What is the general idea of SVM? What does the distance from the support vector mean?

A

To create a support vector to act as a barrier, separating the data into +1 or -1 regions. The distance from the support vector corresponds to the confidence of the prediction.

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

What is the definition of the margin in SVM?

A

The distance to the closest data point from the decision barrier.

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

How can a dataset that’s not linearly separable be handled with SVM?

A

We can introduce penalty to the weight function we wish to minimize.

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

How do we maximize the margin in SVM?

A

We minimize the weights so min(1/2)(W^2) or min(1/2)(W^2+C) if penalty.

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

How do we handle multi-class classification with SVM?

A

We can do this in 2 ways:

1) Learn 3 classifiers + vs. {o, -} - vs. {o, +} o vs. {+, -}
2) Learn 3 sets of weights simultaneously

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