Consider a binary classification dataset in 1D with three points: with label , with label , and with label . A hard-margin linear Support Vector Machine is trained on this data to find the maximum margin hyperplane . What is the value of for the optimal parameters?
C
Step-by-Step Solution
Key idea: The maximum margin hyperplane is determined by the support vectors, which are the points closest to the decision boundary. We must identify the correct support vectors by checking the margin constraints .
Step 1: Assume the support vectors are and . The constraints are tight: .
For : .
For : .
Step 2: Solve the system. Adding the two equations: .
Substitute into the second equation: .
Step 3: Verify the constraint for the remaining point .
.
Since , the constraint is satisfied, confirming and are the true support vectors.
Step 4: Calculate the requested value.
.
Answer: 5