What does the gamma parameter control in an RBF kernel SVM?

Quick Overview

Asks what the gamma parameter controls in a support vector machine with an RBF kernel. Tests how kernel width affects boundary smoothness, overfitting and underfitting, the link with the C penalty, and why features should be scaled before tuning.

What does the gamma parameter control in an RBF kernel SVM?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What does the `gamma` parameter control in an RBF kernel SVM? ```hint Fix a distance Take two points a fixed distance apart and look at how the kernel value between them changes as gamma grows. ``` ### What a Strong Answer Covers - The RBF kernel formula and how gamma relates to the width of the Gaussian - What a large gamma does to the decision boundary, the number of support vectors and overfitting - What a small gamma does and when it underfits - How gamma interacts with `C` and how to tune the two - Why feature scaling matters for gamma ### Follow-up Questions - Training accuracy is 100% and nearly every training point is a support vector. What would you change first? - Why does an RBF SVM with a very small gamma behave like a linear SVM? - How would you pick a reasonable starting gamma before running a search?

Overview: Asks what the gamma parameter controls in a support vector machine with an RBF kernel. Tests how kernel width affects boundary smoothness, overfitting and underfitting, the link with the C penalty, and why features should be scaled before tuning.

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

What does the gamma parameter control in an RBF kernel SVM?

What a Strong Answer Covers Guidance

  • The RBF kernel formula and how gamma relates to the width of the Gaussian
  • What a large gamma does to the decision boundary, the number of support vectors and overfitting
  • What a small gamma does and when it underfits
  • How gamma interacts with C and how to tune the two
  • Why feature scaling matters for gamma

Follow-up Questions Guidance

  • Training accuracy is 100% and nearly every training point is a support vector. What would you change first?
  • Why does an RBF SVM with a very small gamma behave like a linear SVM?
  • How would you pick a reasonable starting gamma before running a search?