• No products in the cart.

204.6.1 Introduction to SVM

Getting our basics clear before jumping into SVM.

In the series 204.7 of blogs we will cover SVM or Support Vector Machine.

The first post is about basics of classification and slowly we will lean into SVM with full throttle.

Introduction

  • SVM is another black box method in Machine Learning space.
  • Compared to other ml algorithms, SVM totally a different approach to learning.
  • The in-depth theory and mathematics of SVM needs great knowledge in vector algebra and numerical analysis.
  • We will try to learn the basic principal, philosophy, implementation of SVM.
  • SVM was first introduced by Vapnik and Chervonenkis.
  • Neural networks try to reduce the squared error and often suffer from overfitting.
  • SVM algorithm has better generalization ability. There are many applications where SVM works better than neural networks.

The Classifier

  • To understand the SVM algorithm easily, we will start with the decision boundary.
  • The line or margin that separates the classes.
  • Classification, algorithms are all about finding the decision boundaries.
  • A good classifier is the one that generalizes well. It should work well on both training and testing data.
  • It need not be a straight line always.

Many Classifiers

The Margin of Classifier

Out of all the classifiers, the one that has maximum margin will generalize well. But why?

The Best Decision Boundary

  • Imagine two more data points. The classifier with maximum margin will be able to classify them more accurately.

The Maximum Margin Classifier

  • So, the best classifier has maximum margin.
  • The classifier that maximizes the distance between itself and the nearest training data.
  • In our example a,b,c are the training data points that are near to m1, and a,c,d are the training examples that are near to model m2.
  • The model m1 has maximum margin.
  • The model m1 works well with the unseen examples.
  • The model m1 does good generalization.
  • For a given dataset, if we can find a classifier that has maximum margin, then it will assure maximum accuracy.

The next post is about a practice session on a simple classifier.

Link to the next post : https://course.dvanalyticsmds.com/204-6-2-practice-simple-classifier/

DV Analytics

DV Data & Analytics is a leading data science,  Cyber Security training and consulting firm, led by industry experts. We are aiming to train and prepare resources to acquire the most in-demand data science job opportunities in India and abroad.

Bangalore Center

DV Data & Analytics Bangalore Private Limited
#52, 2nd Floor:
Malleshpalya Maruthinagar Bengaluru.
Bangalore 560075
India
(+91) 9019 030 033 (+91) 8095 881 188
Email: info@dvanalyticsmds.com

Bhubneshwar Center

DV Data & Analytics Private Limited Bhubaneswar
Plot No A/7 :
Adjacent to Maharaja Cine Complex, Bhoinagar, Acharya Vihar
Bhubaneswar 751022
(+91) 8095 881 188 (+91) 8249 430 414
Email: info@dvanalyticsmds.com

top
© 2020. All Rights Reserved.