View Single Post
  #5  
Old 07-23-2012, 10:59 AM
nedqlko.m nedqlko.m is offline
Junior Member
 
Join Date: Jul 2012
Posts: 7
Default Re: Linear Regression

Quote:
Originally Posted by samirbajaj View Post
E_in is the fraction of points that were classified incorrectly. You are to run your experiment 1,000 times, determine the E_in each time, and take the mean of all those results.

Hope that helps.

-Samir
Thanks very much for your reply! This does make sense, and I've just realised why I was initially confused about this - I always try to write my code to be as efficient as possible, and I was calculating this in a vectorised way (that's why I mentioned above that I've got a vector of values and not a single value) but in this particular case I had forgotten to sum up all elements of the vector.
Reply With Quote