Support vector machine

Support Vector Machine (SVM) is a supervised machine learning algorithm widely used for solving classification and regression problems. It is based on the concept of decision planes that define decision boundaries. A decision plane is one that separates a set of objects having different class memberships.
Overview[edit]
SVM works by mapping data to a high-dimensional feature space so that data points can be categorized, even when the data are not otherwise linearly separable. A separator between the categories is found, then the data is transformed in such a way that the separator could be drawn as a hyperplane. Following this, characteristics of new data can be used to predict the group to which a new record should belong.
History[edit]
The origins of SVM can be traced back to the work of Vladimir Vapnik and Alexey Chervonenkis in the 1960s. Initially, it was developed for binary classification problems. Over time, the algorithm has been extended to solve multi-class classification and regression problems, known as Support Vector Regression (SVR).
Mathematical Formulation[edit]
At its core, the SVM algorithm seeks to find the hyperplane that best separates the classes in feature space. If the input features are mapped linearly to the high-dimensional space, the separating hyperplane can be written as the set of points \(x\) satisfying:
\[ \mathbf{w} \cdot \mathbf{x} - b = 0 \]
where \(\mathbf{w}\) is the normal vector to the hyperplane, and \(b\) is the offset from the origin. The best hyperplane is the one that leaves the maximum margin from both classes. SVM uses hinge loss function and incorporates slack variables to handle non-linearly separable cases and soft margins.
Kernel Trick[edit]
The kernel trick is a method used by SVMs to transform the input space into a higher dimensional space where a linear separator is sufficient to separate the classes. Common kernels include the linear, polynomial, radial basis function (RBF), and sigmoid.
Applications[edit]
SVMs are used in a variety of applications such as face detection, handwriting recognition, image classification, and bioinformatics. They are preferred due to their effectiveness in high-dimensional spaces and their ability to handle different types of data.
Advantages and Disadvantages[edit]
Advantages of SVMs include their accuracy in high-dimensional spaces and their versatility through the kernel trick. However, SVMs can be computationally intensive, particularly with large datasets, and their performance heavily depends on the choice of kernel and regularization parameters.
See Also[edit]
- Machine Learning
- Classification (machine learning)
- Regression analysis
- Kernel (computing)
- Feature space
| This article is a stub. You can help WikiMD by registering to expand it. |
Ad. Transform your health with W8MD Weight Loss, Sleep & MedSpa

Tired of being overweight?
Special offer:
Budget GLP-1 weight loss medications
- Semaglutide starting from $29.99/week and up with insurance for visit of $59.99 and up per week self pay.
- Tirzepatide starting from $45.00/week and up (dose dependent) or $69.99/week and up self pay
✔ Same-week appointments, evenings & weekends
Learn more:
- GLP-1 weight loss clinic NYC
- W8MD's NYC medical weight loss
- W8MD Philadelphia GLP-1 shots
- Philadelphia GLP-1 injections
- Affordable GLP-1 shots NYC
- Budget GLP-1 shots
|
WikiMD Medical Encyclopedia |
Medical Disclaimer: WikiMD is for informational purposes only and is not a substitute for professional medical advice. Content may be inaccurate or outdated and should not be used for diagnosis or treatment. Always consult your healthcare provider for medical decisions. Verify information with trusted sources such as CDC.gov and NIH.gov. By using this site, you agree that WikiMD is not liable for any outcomes related to its content. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian