Question 31
In Soft-Margin SVM, what does the hyperparameter C control in the objective min (1/2)||w||^2 + C sum xi_i?
Original solution basis:
Large C heavily penalizes slack variables xi_i (narrower margin, fewer errors / potential overfit), while small C allows more margin violations (wider margin / potential underfit).
Deep Dive
The parameter C controls the penalty assigned to slack variables ξᵢ in the soft-margin objective. A large C makes violations expensive and encourages fewer training errors, often at the cost of a narrower margin and greater sensitivity to noise. A small C tolerates more violations and places relatively more emphasis on a wider margin.
Key Points to Remember:
• C controls the trade-off between margin size and training violations.
• Large C: stronger penalty for slack; small C: more tolerance.
• C is a regularization parameter and should be tuned using validation.
Exam tip:
Identify the governing definition or theorem first, write the formula, substitute the given values, and check dimensions/signs before selecting the option.