Support Vector Machine, Decision Boundary

Support Vector Machine: Linearly Separable case

Image result for support vector machine in Linearly andrew ng
This is an example of Large Margin Classifier, the gap between A and B is called the margin. This case is called the Large Margin because the margin is large. In this case, the SVM will learn line C.

Recall that the cost function for SVM was:

\[C⅀ycost1(theta.T@X) + (1-y)cost0(theta.T@X)\] 
Where the summation runs over all the examples.

We are going to focus on the parameter C:
Image result for support vector machine boundary variation with C

A large C will make sure that it classifies perfectly, will make sure that each example has a huge weight when deciding the decision boundary. In case this can be useful, but in most case, you don't want it. At least when the training set is very very large.

No comments:

Post a Comment

Installing albert on ubuntu 19.04

Installing Albert on Ubuntu 19.04... Albert is not still released for ubuntu 19.04. But still, you can install it using the following ...