SVM-1-SummaryNotes (1)
SVM-1-SummaryNotes (1)
SVM-1-SummaryNotes (1)
Margin/gap
The hyperplane parallel to π, that touches the closest +ve point:
+ 𝑇
π : 𝑤 𝑥 + 𝑏 = 1;
The hyperplane parallel to π, that touches the closest -ve point:
− 𝑇
π :𝑤 𝑥 + 𝑏 = − 1
+ − 2
Margin is measured as the distance between them: 𝑑(π , π ) = ||𝑤||
;
- where w is the weight of the model.
The optimization problem in SVM
2
Optimization problem: 𝑚𝑎𝑥 ||𝑤||
Support Vectors
These are the data points:-
- Are within the margin
- Or, are misclassified
+ −
- Or, which lies on the hyperplanes (π , π )
- ∝𝑖 = 0 for nonsupport vectors, whereas, ∝𝑖 > 0 for support vectors.