What is the role of slack variables in a soft-margin SVM?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks what slack variables do in a soft-margin support vector machine. Tests whether you can write the relaxed primal problem, read a point's position from its slack value, explain how the penalty C trades margin width against violations, and connect slack to the hinge loss and the dual.