Question: You are given two data points 1 = (1,0), y = -1, and r2 = (3,0), y2 = 1. (a) Compute the optimal w
You are given two data points 1 = (1,0), y = -1, and r2 = (3,0), y2 = 1. (a) Compute the optimal w and b in support vector machine by solving the primal formulation given below. min w.b subject to y(w x + b) 1, Vi. (b) Compute the optimal a in the dual formulation of support vector machine given below. max an-En-1 m=1 Yn Ymanam Thm GERN subject to N n-1 YnQn = 0 an 20, n = 1,..., N. (c) Compute the optimal w based on the optimal a obtained from the dual formula- tion of support vector machine. Compare with the results in (a). You should be able to obtain the same result.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
