Overview
A Support Vector Machine finds a boundary that separates labeled examples with the largest possible margin, allowing slack for imperfect separation. Kernel functions can make the boundary nonlinear in the original feature space.
Learns a separating decision boundary by maximizing the margin around support vectors.
Compact metadata for implementation and discovery.
A Support Vector Machine finds a boundary that separates labeled examples with the largest possible margin, allowing slack for imperfect separation. Kernel functions can make the boundary nonlinear in the original feature space.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n d)
Average
O(n^2 d)
Worst
O(n^3)
Space
O(n^2)
score = dot(weights, features) + biasClassifies points by the side and distance from the separating hyperplane.
Show a boundary with margin lines touching support vectors.
SVMs can be powerful, but feature scaling and parameter validation are part of the method in practice.
What each reference supports for this entry.
Statistical learning reference for the model family and tradeoffs of Support Vector Machine.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Machine Learning · Foundation
SVMs optimize a margin objective, while logistic regression optimizes log loss.
Compare with thisSVMs optimize a margin objective, while logistic regression optimizes log loss.
SVMs use margin-based decisions, while softmax classifiers optimize multiclass probability scores.