Page 1 of 1

Consider a linear SVM and the following training data from two categories: x1 = (1,1); x2 = (2,2); x3 = (2,0) y1 = y2 =

Posted: Sat May 14, 2022 7:56 pm
by answerhappygod
Consider a linear SVM and the following training data from two
categories:
x1 = (1,1); x2 = (2,2); x3 = (2,0) y1 = y2 = y3 = +1
x4 = (0,0); x5 = (1,0); x6 = (0,1) y4 = y5 = y6 = -1
[y1 is the class label of x1; y2 is the class label of x2; and
so on]
(a) Plot the six training points and plot by inspection the
optimal hyperplane
(b) Which data points are the support vectors?
(c) Write the equation of the optimal hyperplane.