Question: ( 4 0 points ) Fitting an SVM by hand. For this problem you will solve an SVM without the help of a computer, relying

(40 points) Fitting an SVM by hand.
For this problem you will solve an SVM without the help of a computer, relying instead on
principled rules and properties of these classifiers. Consider a dataset with the following 7 data
points (xi,yi) :
{(-3,+1),(-2,+1),(-1,-1),(0,-1),(+1,-1),(+2,+1),(+3,+1)}
Here yi=-1 or +1 indicates the data point i belongs to either class.
Consider mapping these points to 2 dimensions using the feature vector (x)=(x,x2). The
hard margin classifier training problem is:
min|||22
such that yi(T(xi)+0)1,AAiin{1,dots,n}
This question has been broken down into a series of questions, each providing a part of the
solution. Make sure to follow the logical structure of the exercise when composing your answer
and to justify each step.
a. Plot the training data and draw the decision boundary of the max margin classifier.
b. What is the value of the margin achieved by the optimal decision boundary?
c. What is a vector that is orthogonal to the decision boundary?
d. Considering discriminant T(xi)+0, what value of and 0 will achieve optimal
hyperplane?
e. What are the support vectors of the classifier? Confirm that the support vectors are indeed
solutions to the constraint yi(T(xi)+0)1 using estimated and 0.
 (40 points) Fitting an SVM by hand. For this problem you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem we need to manually derive an SVM classifier for the given dataset and questions Lets go stepbystep a Plot the training data and ... View full answer

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!