Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose we use suppor vector machines with the kernel: K ( x , x ' ) = { 1 i f x = x '

Suppose we use suppor vector machines with the kernel:
K(x,x')={1ifx=x'0otherwise
As we discussed in class, this corresponds to mapping each x to a vector (x) in some high
dimensional space (that need not be specified) so that K(x,x')=(x)T(x')
As usual, we are given m examples (x1,y1),cdots,(xm,ym) where yiin{-1,+1}. Assume for
simplicity that all the xi's are distinct(i.e.,xixj for ij).
(1) Recall that the weight vector w used in SVM's has the form
w=i?iyi(xi).
Compute the i's explicitly that would be found using SVM's with this kernel.
(2) Recall that the SVM algorithm outputs a classifier that, on input x, computes the sign of
w*(x). What is the value of this inner product on training example xi? What is the value of this
inner product on any example x not seen during training? Based on these answers, what kind of
generalization error do you expect will be achieved by SVM's using this kernel?
(3) Recall that the generalization error of SVM's can be bounded using the margin (which is
equal to 1||w||), or using the number of support vectors. What is in this case? How many support
vectors are there in this case? How are these answers consistent with your answer in part (b)?.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Android 4 Application Development

Authors: Reto Meier

3rd Edition

1118223853, 9781118223857

More Books

Students also viewed these Programming questions

Question

Relate energy to evolution.

Answered: 1 week ago

Question

Understand cloud-based collaboration platforms.

Answered: 1 week ago

Question

Which Department Decade is the best selling in the Shoes Century?

Answered: 1 week ago