What is Support vector machine?
In Turkish: Destek vektör makinesi (SVM) · Topic: Math foundations
A machine learning method for classification that separates classes by drawing the boundary as far as possible from the nearest examples of each class.
How does it work?
Imagine two sets of colored points on a plane: countless lines can separate them. An SVM picks the line that leaves the widest gap, called the margin, between the two groups. Only the few points closest to the boundary determine that line, and these are called support vectors. If the data cannot be split by a straight line, the kernel trick comes in: the points are implicitly moved into a higher-dimensional space where they can be separated. With real data, a soft margin that tolerates some errors is usually used.
Why does it matter?
Before deep learning became widespread, SVMs were among the main methods for tasks such as text classification and biological data analysis. Because they can work well with few examples, they still come to mind for small datasets. Ideas like the margin and the kernel also make SVMs a good way to learn the basic concepts of machine learning.
Example
An email service could use an SVM to label messages as spam or not spam based on how often certain words appear.
FAQ
What exactly are support vectors?
They are the data points that lie closest to the boundary between classes. Only these points decide where the boundary goes; removing points that lie far away would not change it.
Why are SVMs used less on very large datasets?
Training time grows quickly as the number of examples increases. On very large data, especially images and text, deep learning or tree-based methods are usually more practical and more accurate.