Support Vector Machine
Support Vector Machine
A Support Vector Machine (SVM) is a machine learning algorithm used for classification and
regression. It finds the best line (or hyperplane) to separate data into groups, maximizing the
distance between the closest points (support vectors) of each group. It can handle complex data
using kernels to transform it into higher dimensions.
The best hyperplane is that plane that has the maximum distance from both the classes, and this
is the main aim of SVM. This is done by finding different hyperplanes which classify the labels in
the best way then it will choose the one which is farthest from the data points or the one which
has a maximum margin.
Example 1
subject to: