Margin In SVM

Margin in SVM is the shortest distance between the threshold and the nearest observations.

Pasted image 20231031213950.png

Pasted image 20231031214146.png