14-Introduction To Support Vector Machine-22-03-2024
14-Introduction To Support Vector Machine-22-03-2024
By
Dr.Ramkumar.T
ramkumar.thirunavukarasu@vit.ac.in
1
Support Vector Machine
• Support Vector Machine is a supervised machine
learning technique for solving both classification
and regression problems
• Howerve it is mostly used in classification
problem
• In this learning, each data item is plot as a point in
n-dimesnional space, where n-is the number of
features.
• A hyper plane will be drawn to separate the points
into two classes.
2
Support Vector Machine
3
Support Vector Machine
4
How does it work?
• Rule to identify the right hyper-plane
– Select the hyper-plane that segregates the two
classes better
– Maximize the distance between nearest data
points and hyper-plane
– The distance is called as Margin
5
Support Vector Machine
6
Maximal Margin Hyperplane
7
Support Vector Machine
8
Support Vector Machine
9
SVM - Bottleneck
• It works well only for numerical data.
• Also good only for binary classification problem
• When the data is large, takes much training time
• Unable to handle noisy data
• More attention is required in data curation and
normalization process
10
Class Problem & Solution in Handout
Find the SVM Classifier for the following dataset
Sample x1 x2 Class
1 4 1 +1
2 1 0 -1
3 0 1 -1
4 0 -1 -1
5 4 -1 +1
6 6 0 +1
12