How do convex hulls provide a geometric interpretation of an SVM?

Quick Overview

Asks how the convex hulls of the two classes give a geometric reading of a support vector machine, for both hard and soft margins. Tests the SVM dual, how the boundary and margin follow from the geometry, and what support vectors and separability mean in that picture.

How do convex hulls provide a geometric interpretation of an SVM?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How do convex hulls provide a geometric interpretation of an SVM? Explain the picture for the hard-margin SVM on separable data, and what changes for the soft-margin SVM. ```hint Rewrite the dual In the hard-margin dual, split the multipliers by class and look at what the equality constraint $\sum_i \alpha_i y_i = 0$ says about each class's total weight. ``` ```hint Normalize per class Divide each class's multipliers by their total. Ask which set of points the resulting weighted sums can reach. ``` ```hint Soft margin Think about what an upper bound on each multiplier does to that set. ``` ### What a Strong Answer Covers - The nearest-points problem between the two class hulls and how it follows from the SVM dual - How the weight vector, the decision boundary and the margin are read off the two nearest points - What the picture says about support vectors and about separability - The soft-margin version with reduced convex hulls and what the weight cap controls ### Follow-up Questions - How does the picture change when a kernel is used? - What classifier do you get when each reduced hull shrinks all the way to its class mean? - For a given cap $D$, when is a reduced hull empty, and how many points must carry weight in it? - How could you solve the nearest-points problem directly, and how would that compare with solving the standard dual?

Overview: Asks how the convex hulls of the two classes give a geometric reading of a support vector machine, for both hard and soft margins. Tests the SVM dual, how the boundary and margin follow from the geometry, and what support vectors and separability mean in that picture.

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

How do convex hulls provide a geometric interpretation of an SVM? Explain the picture for the hard-margin SVM on separable data, and what changes for the soft-margin SVM.

What a Strong Answer Covers Guidance

  • The nearest-points problem between the two class hulls and how it follows from the SVM dual
  • How the weight vector, the decision boundary and the margin are read off the two nearest points
  • What the picture says about support vectors and about separability
  • The soft-margin version with reduced convex hulls and what the weight cap controls

Follow-up Questions Guidance

  • How does the picture change when a kernel is used?
  • What classifier do you get when each reduced hull shrinks all the way to its class mean?
  • For a given cap DD , when is a reduced hull empty, and how many points must carry weight in it?
  • How could you solve the nearest-points problem directly, and how would that compare with solving the standard dual?