Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 Kernel Power Consider the following dimensional dataset, 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 xx x x x where xx x and x x x What is the equation of the best separating hyperplane 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 dataset in the previous part What are the estimated values of alpha alpha 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 dp a screen shot of your code, a copy of your code in your py file for this question. c Consider now the kernel kxzx z Run a hardmargin kernel SVM on the original untransformed data given in the table at the start of the question. What are the estimated values of alpha alpha 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 dp 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 iii 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 andor 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.
Hide Transcribed Text
Question Kernel Power Consider the following dimensional dataset, 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
xx
x
x
x
where
xx
x
and
x
x
x
What is the equation of the best separating hyperplane 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 dataset in the previous part
What are the estimated values of
alpha
alpha
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 dp a screen shot of your code, a copy of your code in your py file for this question. c Consider now the kernel
kxzx
z
Run a hardmargin kernel SVM on the original untransformed data given in the table at the start of the question. What are the estimated values of
alpha
alpha
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 dp 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 iii 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 andor 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started