How does increasing C affect an SVM's margin width, bias and variance?

Quick Overview

Asks how raising the regularization parameter C in a soft-margin support vector machine changes the margin width, bias and variance. Tests understanding of the slack penalty in the objective, the hard-margin limit, support vectors and how C is tuned.

How does increasing C affect an SVM's margin width, bias and variance?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

How does increasing `C` affect an SVM's margin width, bias and variance? ```hint Start from the objective Write down the soft-margin SVM objective and ask what the optimizer is willing to give up once margin violations become more expensive. ``` ### What a Strong Answer Covers - The soft-margin objective and the role `C` plays in it - The direction of the effect on margin width and on the number of support vectors - The bias and variance consequences, including the limit as `C` grows without bound - How `C` is tuned in practice and how it interacts with kernel parameters ### Follow-up Questions - On linearly separable data, what happens to the solution as `C` keeps increasing? - Does a given value of `C` mean the same thing when the training set doubles in size? - How does `C` interact with `gamma` in an RBF SVM, and what does a model with both set high look like? - How could per-class values of `C` help with class imbalance?

Overview: Asks how raising the regularization parameter C in a soft-margin support vector machine changes the margin width, bias and variance. Tests understanding of the slack penalty in the objective, the hard-margin limit, support vectors and how C is tuned.

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

How does increasing C affect an SVM's margin width, bias and variance?

What a Strong Answer Covers Guidance

  • The soft-margin objective and the role C plays in it
  • The direction of the effect on margin width and on the number of support vectors
  • The bias and variance consequences, including the limit as C grows without bound
  • How C is tuned in practice and how it interacts with kernel parameters

Follow-up Questions Guidance

  • On linearly separable data, what happens to the solution as C keeps increasing?
  • Does a given value of C mean the same thing when the training set doubles in size?
  • How does C interact with gamma in an RBF SVM, and what does a model with both set high look like?
  • How could per-class values of C help with class imbalance?