Support Vector Machines (SVM)
Support Vector Machines (SVM)
What is SVM ??
A support vector machine (SVM) is a type of supervised learning
algorithm used for classification and regression analysis. SVMs are
based on the idea of finding a hyperplane that best divides a dataset
into two classes. The hyperplane is chosen such that it maximizes the
margin between the two classes.
Hyperplanes
● When the data is one-dimensional which means one attribute then the Support
Vector Classifier is a point in a one-dimensional number line.
● When the data are two-dimensional which means two attributes, a Support Vector
Classifier is a one-dimensional line in a two-dimensional space.
● When the data are three-dimensional which means three attributes, the Support
Vector Classifier forms a two-dimensional plane in a three-dimensional space.
● When the data are in 4 or more dimensions, the Support Vector Classifier is a
hyperplane.