WBJECA 2025 — Computer PYQ
WBJECA | Computer | 2025In SVMs, the margin is defined as
Choose the correct answer:
- A.
The perpendicular distance from the decision boundary to the closest support vector.
(Correct Answer) - B.
The Euclidean distance between the two farthest data points in the dataset.
- C.
The difference in predicted probabilities between the two classes.
- D.
The perpendicular distance from any point to the hyperplane along the normal vector.
The perpendicular distance from the decision boundary to the closest support vector.
Explanation
Support Vector Machines (SVMs) aim to find the optimal hyperplane that separates data points of different classes. The "margin" is a core concept in SVM optimization.
Decision Boundary: The hyperplane that separates the classes.
Support Vectors: These are the data points closest to the hyperplane. They are the "critical" points that define the position and orientation of the decision boundary.
Margin: The margin is the width of the empty space between the decision boundary and the nearest data points (the support vectors) of each class. SVMs are designed to maximize this margin.
Mathematically, if the hyperplane is defined by wTx+b=0, the distance from a point xi to the hyperplane is ∣∣w∣∣∣wTxi+b∣. For support vectors, where wTxi+b=±1, the margin distance is:
Margin Distance=∣∣w∣∣1
The total margin width, which SVM seeks to maximize, is defined as the distance between the support vectors of the two classes:
Total Margin=∣∣w∣∣2
Since the margin is defined by the separation between the decision boundary and the support vectors that are closest to it, option (A) is the correct definition
