I couldn't find a specific answer to this.

It's a general query I have, no specific code attached.

Is it possible for there to be more than one perfect line/hyperplane separating two (or more) classes in support vector machines?

If there is, the best dividing line randomly chosen? Or is it unlikely there would be more than one?


1 Answer 1


SVM chooses the separator with the widest "parallel" margin

So for example, given the choice between pink, orange and green margins separating the circles and squares in the example illustrated below, it will choose green (in effect a line midway between the two green margin lines shown)

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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