Support Vector Machine
Support Vector Machine
• Support Vectors
– Support vectors are the data points, which
are closest to the hyperplane. These
points will define the separating line
better by calculating margins.
These points are more relevant to the
• construction of the classifier.
Hyperplane
– A hyperplane is a decision plane which
separates between a set of objects
having diff erent class memberships.
Definitions
• Margin
– A margin is a gap between the two lines
on the closest class points.
– This is calculated as the perpendicular
distance from the line to support
vectors or closest points.
– If the margin is larger in between the
classes, then it is considered a good
margin, a smaller margin is a bad
margin.
Why SVM is so special ?
• Linear Kernel
• Polynomial Kernel
• Radial Basis Function
Kernel
• Sigmoid Kernel
Radial Basis Function Kernel
• https://mitu.co.in
• https://superdatascience.co
m
• https://stackabuse.com/
• https://jakevdp.github.io
• https://towardsdatascience.
com
• https://www.datacamp.com
• http://scikit-learn.org/