What are support vectors in an SVM?

Quick Overview

Asks what support vectors are in a support vector machine and why they alone determine the decision boundary. Tests the dual definition through the Lagrange multipliers, the difference between hard and soft margins, model sparsity and prediction cost, and the leave-one-out bound.

What are support vectors in an SVM?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What are support vectors in an SVM? ```hint Look at the dual Write the weight vector in terms of the dual variables and ask which training points actually contribute to it. ``` ### What a Strong Answer Covers - A definition in terms of where the points sit relative to the margin and in terms of the dual variables. - How the set of support vectors differs between hard-margin and soft-margin SVMs. - What happens to the model when a support vector, or any other point, is removed. - What the number of support vectors implies for prediction cost and for generalization. ### Follow-up Questions - How does the regularization parameter C change the number of support vectors? - With an RBF kernel, what does a very large gamma do to the number of support vectors, and what does that tell you? - Why does prediction with a linear SVM not need to keep the support vectors at all?

Overview: Asks what support vectors are in a support vector machine and why they alone determine the decision boundary. Tests the dual definition through the Lagrange multipliers, the difference between hard and soft margins, model sparsity and prediction cost, and the leave-one-out bound.

General logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What are support vectors in an SVM?

What a Strong Answer Covers Guidance

  • A definition in terms of where the points sit relative to the margin and in terms of the dual variables.
  • How the set of support vectors differs between hard-margin and soft-margin SVMs.
  • What happens to the model when a support vector, or any other point, is removed.
  • What the number of support vectors implies for prediction cost and for generalization.

Follow-up Questions Guidance

  • How does the regularization parameter C change the number of support vectors?
  • With an RBF kernel, what does a very large gamma do to the number of support vectors, and what does that tell you?
  • Why does prediction with a linear SVM not need to keep the support vectors at all?