Question: Hide Transcribed Text Question 1 . Kernel Power Consider the following 2 - dimensional data - set, where y denotes the class of each point.

Hide Transcribed Text
Question 1. Kernel Power Consider the following 2-dimensional data-set, where
y
denotes the class of each point. Throughout this question, you may use any desired packages to answer the questions. (a) Use the transformation
x=(x
1
,x
2
)(
1
(x),
2
(x))
where
1
(x)=2x
2
2
4x
1
+1
and
2
(x)=
x
1
2
2x
2
3
. What is the equation of the best separating hyper-plane in the new feature space? Provide a plot with the data set and hyperplane clearly shown. What to submit: a single plot, the equation of the separating hyperplane, a screen shot of your code, a copy of your code in your .py file for this question. (b) Fit a hard margin linear SVM to the transformed data-set in the previous part
1
. What are the estimated values of
(\alpha
1
,...,\alpha
7
)
. Based on this, which points are the support vectors? What error does your computed SVM achieve? What to submit: the indices of your identified support vectors, the train error of your SVM, the computed
\alpha
's (rounded to 3 d.p.), a screen shot of your code, a copy of your code in your .py file for this question. (c) Consider now the kernel
k(x,z)=(2+x
z)
2
. Run a hard-margin kernel SVM on the original (un-transformed) data given in the table at the start of the question. What are the estimated values of
(\alpha
1
,...,\alpha
7
)
. Based on this, which points are the support vectors? What error does your computed SVM achieve? What to submit: the indices of your identified support vectors, the train error of your SVM, the computed
\alpha
's (rounded to 3 d.p.), a screen shot of your code, a copy of your code in your .py file for this question. (d) Provide a detailed argument explaining your results in parts (i),(ii) and (iii). Your argument should explain the similarities and differences in the answers found. In particular, is your answer in (iii) worse than in (ii)? Why? To get full marks, be as detailed as possible, and use mathematical arguments or extra plots if necessary. What to submit: some commentary and/or plots. If you use any code here, provide a screen shot of your code, and a copy of your code in your .py file for this question.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!