Question: ( SVM formulation [ 1 0 pt ] ) [ Context: During lectures, we studied how to formulate the SVM problem by generating buffer lines.

(SVM formulation [10pt])[Context: During lectures, we studied how to formulate the SVM problem by generating buffer lines. Here, we will take a more direct approach.] Work out the following steps to formulate a hard-margin SVM problem.
(a)[2pt] Consider a fixed hyperplane prescribed by TTx+b=0 as plotted (green line) in the below figure. For an arbitrary point hat(x) that lies on the positive halfspace, let hat(x)P be the projection of hat(x) onto the hyperplane. The distance from hat(x) to the hyperplane is r. Write hat(x) as a function of hat(x)P, and r.[Note that may not be of unit length]
Answer:
(b)[2pt] Using the result in (a), expand TThat(x)+b, then write r as a function that depends on ,b and hat(x).
Hint: hat(x)P is on the hyperplane, so which condition does it satisfy?
Answer:
(c)[2pt] Consider a point hat(x)' that lies on the negative halfspace. Its distance to the hyperplane is r'. Write r' as a function that depends on ,b and hat(x)'.
Answer:
(d)[2pt] Given a training dataset (hat(x)i,hat(y)i) for i=1,dots,N and hat(y)iin{-1,+1}. What is the distance from hat(x)i to the hyperplane TTx+b=0?
Answer:
2
(e)[2pt] The training dataset is linearly separable. Define the margin as the minimum distance from the training samples to the hyperplane. Formulate an optimization problem over and b to find a separating hyperplane with maximum margin. [Note that here we are talking about the hyperplane TTx+b=0, and thus the separating constraint should be modeling the requirement that "TThat(x)i+b and hat(y)i have the same sign".]
Answer:
 (SVM formulation [10pt])[Context: During lectures, we studied how to formulate the

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!