Consider a hard-margin Support Vector Machine trained on the following dataset in :
Positive class ():
Negative class (): ,
The SVM optimization problem is formulated in the primal as:
Which of the following are the exact values for the parameters and metrics of the optimal classifier?
["A","B","C"]
Step-by-Step Solution
Key idea: This is a hard-margin SVM problem with a symmetric dataset. The key is to find the unnormalized hyperplane by geometry, scale it so the minimum functional margin is exactly 1, and then use the KKT conditions to find the Lagrange multipliers.
Step 1: Find the unnormalized separating hyperplane.
By symmetry, the optimal hyperplane is the vertical line midway between and the segment connecting .
The x-coordinate of is 2. The x-coordinate of is -1.
The midpoint is .
So the unnormalized normal is and unnormalized bias is .
Step 2: Scale to satisfy the standard SVM constraints.
Calculate the functional margin for the support vectors using :
For : .
For : .
Since the minimum functional margin is 1.5, we scale and by to make it exactly 1.
.
.
This confirms Option B is correct.
Step 3: Calculate the geometric margin.
The geometric margin is .
This confirms Option C is correct.
Step 4: Find the Lagrange multipliers using KKT conditions.
We know and .
Substitute the values:
.
This gives two equations:
.
The sum constraint gives:
.
Substitute and into the first equation:
.
Then and .
This confirms Option A is correct and Option D is incorrect.
Answer: A, B, C