View Single Post
Old 08-24-2012, 05:51 PM
zifmia zifmia is offline
Junior Member
Join Date: Jul 2012
Posts: 4
Default Re: Quadratic programming

I don't see anything odd with your support vectors. The solution may not be a great fit to your target f, but SVM doesn't see your f, it only sees 10 samples of f, and in all the cases you show, it looks like the support vectors could do a pretty good job of separating the given training points.

Try drawing the actual separating line found by SVM (from the w vector and b), then draw the parallels to this line through your support vectors to see the margin zone. I think you will find that SVM does a pretty good job of separating your points.

Last edited by zifmia; 08-24-2012 at 05:54 PM. Reason: correction
Reply With Quote