Classification model
Support Vector Machine
Finding the optimal hyperplane that maximizes the margin between classes.
Support Vector Machine (SVM) is a powerful classification algorithm that finds the optimal hyperplane separating different classes by maximizing the margin between them. The points closest to this hyperplane are called support vectors and define the decision boundary.
Formula
max 2/||w|| subject to yแตข(wยทxแตข + b) โฅ 1
How it works
- Maps data to a high-dimensional feature space
- Finds the hyperplane with maximum margin between classes
- Support vectors are points closest to the hyperplane
- Uses kernel trick for non-linear boundaries
- Optimizes using quadratic programming
When to use it
- For binary classification problems
- When data is high-dimensional
- When clear margin of separation exists
- For text and image classification
- When training data is limited
Advantages
- Effective in high dimensions
- Works well with clear margin
- Memory efficient (uses support vectors only)
- Versatile with different kernels
- Resistant to overfitting
Limitations
- Not suitable for large datasets
- Sensitive to feature scaling
- Requires kernel selection
- Does not provide probability estimates directly
- Difficult to interpret
Example uses
- Text categorization
- Image classification
- Bioinformatics
- Face detection
- Handwriting recognition
Related models
Need a model built on your data?
Tell us the decision you want to improve. We will tell you whether your data can support it and which approach fits.