Quote:
Originally Posted by samirbajaj
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.