Question: a through e please Consider a dataset with 2 points in 1D: (x1=0,y1=1) and (x2=2,y2=1). Map each point to 3D using the feature vector (x)=[1,2x,x2]T.

 a through e please Consider a dataset with 2 points in

a through e please

Consider a dataset with 2 points in 1D: (x1=0,y1=1) and (x2=2,y2=1). Map each point to 3D using the feature vector (x)=[1,2x,x2]T. This is equivalent to using a second order polynomial kernel. The SVM classifier has the form minw2s.t.y1(wT(x1)+w0)1y2(wT(x2)+w0)1 (a). Find the corresponding points in 3D. That is, (x1) and (x2). (b). What is the value of the margin? Notice since there are only 2 points in the dataset, those points are the support vectors. Hence, the margin is the distance between each of them in 3D to the decision boundary, which lies in the middle. (c). The margin obtained from part (b) is in fact equal to 1/w. Determine the vector w. Recall this vector is the line through (x1) and (x2), which is perpendicular to the decision boundary. (d). Solve for w0 using your value for w and the above equations. Since the points are on the decision boundary, the inequalities will become equalities. (e). Write the function f(x)=w0+wT(x) as an explicit function of x

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!