Learn Before
Definition
Slack Variable ()
In the soft-margin formulation of Support Vector Machines (SVM), the term is known as a slack variable. For a given training observation :
- If , then is correctly classified and lies on or outside the margin.
- If , then violates the margin and is considered a support vector.
- If , then is incorrectly classified by the decision boundary.
When solving this optimization problem with stochastic gradient descent (SGD), correctly classified points that lie outside the margin do not affect the update to the parameter . Consequently, only the marginal and misclassified points serve as support vectors.
0
2
Updated 2026-05-17
Contributors are:
Who are from:
Tags
Data Science