Reconhecimento de Padrões (RPD-0041)�
Prof. André E. Lazzaretti
Lecture 3b: A Tour of Machine Learning Classifiers Using scikit-learn - Support Vector Machine
General Idea
Support Vector Machine
Intuitively, the one that provides the largest separation margin!
Maximum Margin Intuition
SVM optimization
The left side of the preceding equation can then be interpreted as the distance between the positive and negative hyperplane, which is the so-called margin that we want to maximize. Now, the objective function of the SVM becomes the maximization of this margin by:�
Support Vector Machine
Support Vector Machine
λi non-zero →
support vectors
Support Vector Machine
Three cases:
Support Vector Machine
Dealing with a nonlinearly separable case�using slack variables
Support Vector Machine
Influence of parameter C:
What does this mean?
Relationship with regularization!
SVM using scikit-learn