support vector machine Flashcards

1
Q

what is SVM

A

classification technique used for predicting binary outcome.

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

what does SVM require d

A

labelled and balanced dataset.

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

SVM is a _____ technique

A

black box technique

we will not be able to know which variables has a greater influence on the outcome nor how much is the influence of each variable on the outcome.

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

What factors affect the outcome and how much is the effect of each factor?

A

What factors affect the outcome and how much is the effect of each factor?

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

how does SVM work

A

*Support vector machine (SVM) learns a hyperplane to classify data into 2 classes

*A line to separate blue & red dot.

*The balls represent data set.

*The red and blue colors represent 2 classes.

*The stick represents the simplest hyperplane which is a line.

*SVM figures out the kernel function for the hyperplane.

*If a new red ball comes, we know where the new ball should be placed

gets more complex when data points are not linearly separable

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

what is the kernel trick

A

1.Transfer (lower dimension) Input Space into (higher dimension)

Feature Space: 2D -> 3D

2.A Kernel function is used for this transformation

3.Find a plane in this Feature Space to separate balls

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

what is a kernel function

A

A kernel function maps pairs of datapoints onto their inner products.

A feature space based on a kernel function has one dimension for every pair of datapoints.

Mathematical minimisation can then be used to find the max-margin hyperplane in the feature-space.

The effect is to identify a non-linear (curved) boundary in the original data space.

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

where does SVM work in ?

A

SVM works only in a real-valued space. For a categorical attribute, we need to convert its categorical values to numeric values.

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

advantage of kernel based framework

A

Kernel-based framework is powerful and flexible

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

true or false

SVM works very well in practice, even with very small training sizes

A

true

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

SVM does only does ____ class classification

A

2

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

Multi-class SVM must combine _____

A

2 class SVMs

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

drawback of svm

A

*Learning from training datasets may take a very long time for large-scale problems

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

accuracy formula

A

(TP + TN) / (P + N)

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

weakness of accuracy formula

A

FP and FN are absent from the accuracy formula, this is where its weakness lies

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

sensitivity/recall formula

A

TP / P = TP / (FN + TP)

17
Q

specificity / true negative rate formula

A

TN / (TN + FP)

18
Q

what is false positive rate

A

1 - true negative rate formula

1 - (TN / (TN + FP))

19
Q

what is ROC used for

A

In all academic literature about classification, the ROC curve is a necessary result for comparison of your proposed method against other methods out there.

20
Q

HOW is roc curve drawn

A

The curve is drawn by varying the decision boundary for the method.