Support Vector Machine
Support Vector Machine
•
• Hyperplane “B” has excellently performed this job.
Identify the right hyperplane (Scenario-2):
• Here, we have three hyperplanes (A, B and C) and all are segregating the classes well.
Now, how can we identify the right hyperplane?
Here, maximizing the distances between nearest data point (either class) and hyperplane
will help us to decide the right hyperplane.
Scenario-2
This distance is called as Margin. Let’s look at the below snapshot:
We can see that the margin for hyperplane C is high as compared to both A and B. Hence, we
name the right hyperplane as C. Another lightning reason for selecting the hyperplane with
higher margin is robustness. If we select a hyperplane having low margin then there is high
chance of missclassification.
Identify the right hyperplane (Scenario-3)
• Some of you may have selected the hyper-plane B as it has higher margin compared
to A. But, here is the catch, SVM selects the hyperplane which classifies the classes
accurately prior to maximizing margin. Here, hyperplane B has a classification error
and A has classified all correctly. Therefore, the right hyperplane is A.