Support Vector Machines (SVM) are powerful supervised learning models used primarily for classification tasks. At its core, the goal of an SVM is to find the best possible boundary that separates different classes of data, ensuring that the distinction between them is as clear and robust as possible.
Core Concepts: Hyperplanes, Margins, and Support Vectors
To understand how an SVM works, we must first define the geometric components that make up its decision-making process.
The first concept is the Hyperplane. In a two-dimensional space, a hyperplane is simply a line that divides the data into two groups. In three dimensions, it becomes a plane, and in even higher-dimensional spaces, it is referred to as a hyperplane.
The second concept is the Margin. The margin is the gap or distance between the separating line and the nearest data points from each class. In SVM optimization, we aim for a "large margin." A large margin is considered "good" because it provides more breathing room between classes, whereas a small margin is considered "bad" as it increases the risk of misclassification.
The third and most critical concept is the Support Vectors. These are the specific data points that lie closest to the hyperplane. They are called "support" vectors because they are the only points that actually define the position and orientation of the hyperplane; if you moved these points, the boundary would move, but moving other points further away would have no effect.
Exam Tip: If you are asked which data points determine the hyperplane in an SVM, the answer is always the Support Vectors.
Keep reading for free.
Create an account to finish this reading and make it part of your study routine.
Continue reading freeAlready have an account? Log in
Updated