ML-Lecture-14-SVM
ML-Lecture-14-SVM
Email: [email protected]
Support Vector Machines (SVM)
SVM is one of the most popular and widely used supervised
machine learning algorithms.
It offers very high accuracy compared to other classifiers such as
logistic regression, decision trees, and Naïve Bayes.
It can be employed in both types of classification and regression
problems.
Applications of SVM
Face detection
Intrusion detection
Classification of emails, news articles and web pages
Classification of genes
Handwriting recognition
Support Vector Machines
Support Vectors, hyperplane and margin
The core idea of SVM
How does it work
Kernels
Classifier building in Scikit-learn
Tuning Hyperparameters
Advantages and Disadvantages
Source: Study from DataCamp
Support Vector Machines (SVM)
Support Vectors: the data points,
which are closest to the hyperplane.
Hyperplane: a decision boundary
that divides the data points into two
classes.
Margin: a gap between the two lines
on the closest class points.
The core idea of SVM
The core idea of SVM is to find a maximum marginal hyperplane(MMH) that
best divides the dataset into classes (hence also known as a discriminative
classifier).
How does SVM work? Or How to Identify
the right hyper-plane in SVM?
Select the hyper-plane which
segregates the classes better
Select the hyperplane for which
the margin is maximum
SVM selects the hyper-plane which
classifies the classes accurately
prior to maximizing margin