Skip to content

Latest commit

 

History

History
59 lines (48 loc) · 4.1 KB

support-vector-machine.md

File metadata and controls

59 lines (48 loc) · 4.1 KB

Support Vector Machines

Strong linear classifier/regressor, also strong non-linear method when using a kernel (polynomial,RBF). Very popular in early 2000s.

Benefits

  • O(nd) classification for n support vectors and d features.

Challenges

  • Kernel function can be expensive
  • Can sometime output a lot of cofefficients (support vectors)
  • Training slow on large datasets, O(n^3)

Variations

  • Soft-margin, to reduce effects of noise/outliers near margin
  • Sparse methods. Reducing number of support vectors
  • Approximations. For instance using Nyström method. sklearn Nystroem/RBFSampler
  • Sampling to speed up training. Usually only on linear SVM. Stocastic Gradient Descent (SGD), Sequential minimal optimization (SMO)
  • Transductive, for semi-supervised learning
  • Support vector clustering
  • One-class SVM, for anomaly detection

Optimizing SVM inference

References