Support Vector Machines: Comparing Kernels and Map Function, Assignments of Computer Science

Three sample exercises related to support vector machines (svms). The first exercise asks how to compare two kernels based on classification results and α values. The second exercise explains the purpose of the map function in svms and its relationship with kernel functions. The third exercise asks to find a map function to make a given dataset linearly separable.

Typology: Assignments

Pre 2010

Uploaded on 11/08/2009

koofers-user-pym
koofers-user-pym 🇺🇸

5

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Support Vector Machines
Sample Exercises
1. Suppose you are considering the results of learning to classify some training set via
support vector machines using two different kernels. From the classification results
and the αvalues, how might you compare the two kernels in terms of overall classi-
fication performance on the training data and overfitting?
2. Recall that the key criterion relating a kernel function to a map is:
k(x, x0) := Φ(x),Φ(x0)
What is the purpose of the map, Φ? Why is this relationship so useful?
3. Given the following data set, provide a map function that would allow these points
to be linearly separable. Justify how the points can be so separated.
x1x2d
3
4
3
4
3
2
1
4
11
1
4
1
2
3
2
1
4
3
4-1
x1
x2
−3/2 −1 −1/2 0 1/2 1 3/2
−3/2 −1 −1/2 0 1/2 1 3/2

Partial preview of the text

Download Support Vector Machines: Comparing Kernels and Map Function and more Assignments Computer Science in PDF only on Docsity!

Support Vector Machines

Sample Exercises

1. Suppose you are considering the results of learning to classify some training set via

support vector machines using two different kernels. From the classification results

and the α values, how might you compare the two kernels in terms of overall classi-

fication performance on the training data and overfitting?

2. Recall that the key criterion relating a kernel function to a map is:

k(x, x

Φ(x), Φ(x

What is the purpose of the map, Φ? Why is this relationship so useful?

3. Given the following data set, provide a map function that would allow these points

to be linearly separable. Justify how the points can be so separated.

x 1 x 2 d

4 -1^ ⊕

x

x