View Single Post
Old 05-16-2013, 04:35 PM
yaser's Avatar
yaser yaser is offline
Join Date: Aug 2009
Location: Pasadena, California, USA
Posts: 1,478
Default Re: Q8-Q10, computing b, Ein non-zero

Originally Posted by Katie C. View Post
I am finding that when I use N=100 I get a non-zero Ein value for about 6% of the trials (60 out of 1000). On those trials I get one misclassified training point which is very close the the boundary. I think it is due to the calculation of b. I am seeing a range of b values depending on which support vector I pick to compute it.
As you know, this should not happen so I suspect some type of bug. The value of b should be the same regardless of which SV you use to compute it, and this is in fact a good check that the solution is right. Also, the data is linearly separable by design so you should get E_{\rm in}=0.
Where everyone thinks alike, no one thinks very much
Reply With Quote