Support vector machines always show a margin whose width changes. How can I find what my margin is ? Eg, if my weights are $[-1,1]$ what is my margin ? Also, do larger weights mean larger margin ?

enter image description here


Larger weights mean smaller margin. Given the weights you can compute the margin by 1/||w||.

| cite | improve this answer | |
  • $\begingroup$ thank you whuber and saibot. It was a matter of plugging in some values and vizualization. $\endgroup$ – Kong Jan 4 '18 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.