LFD Book Forum (http://book.caltech.edu/bookforum/index.php)
-   Homework 4 (http://book.caltech.edu/bookforum/forumdisplay.php?f=133)
-   -   VC dimension independent of probability distribution (http://book.caltech.edu/bookforum/showthread.php?t=3925)

 Anne Paulson 01-30-2013 11:36 AM

VC dimension independent of probability distribution

In Lecture 7, we learn, I think, that if we have a finite VC dimension, then whatever our error rate is on our chosen hypothesis g, that error rate will generalize to all of our input space X, subject to the bounds we know about. That is, with at least some probability that we can compute, the error rate on our training set will be close to the error rate on the whole input space.

And we further learn, I think, that this generalization is true independent of the probability distribution we used to choose our input set.

But now I'm confused. Are we assuming that we use the same probability distribution when computing the error rate on the whole input space? That is, we check the error on every single point, but the ones that were more likely to be in the training set get weighted more, so it's an expectation over all possible training sets picked using the probability distribution, rather than just an error rate over the entire input space with uniform distribution?

Otherwise it doesn't make sense to me. Seems like we could rig the training set to make our cockamamie hypothesis look good.

 yaser 01-30-2013 12:09 PM

Re: VC dimension independent of probability distribution

Quote:
 Originally Posted by Anne Paulson (Post 9059) But now I'm confused. Are we assuming that we use the same probability distribution when computing the error rate on the whole input space? That is, we check the error on every single point, but the ones that were more likely to be in the training set get weighted more, so it's an expectation over all possible training sets picked using the probability distribution, rather than just an error rate over the entire input space with uniform distribution? Otherwise it doesn't make sense to me. Seems like we could rig the training set to make our cockamamie hypothesis look good.
The source of randomization in the VC inequality is the choice of the training set . The assumption is that this set is generated according to some probability distribution on , independently from one data point in to the other. The same probability distribution is used to compute by averaging over the whole input space .

Now, the statement that the VC inequality is independent of the probability distribution means that it holds for any probability distribution. Any training set you pick, according to any probability distribution (or even a rigged training set for that matter) will have at most as many dichotomies as the value of the growth function, since the growth function is defined as a maximum. Since that value is what is needed for the proof of the VC inequality, the inequality will always hold (more loosely for certain probability distributions, but will nonetheless hold).

Having said that, we are still not allowed to "rig" the choice of the training set , not because the number of dichotomies will be a problem -- it won't be, but because the basic premise of Hoeffding, on which the VC inequality is built, is that the points in are picked independently according to some probability distribution. You can rig the probability distribution if you want, but you still have to pick your data points independently from it, and use the same probability distribution to compute .

 Anne Paulson 01-30-2013 02:01 PM

Re: VC dimension independent of probability distribution

"You can rig the probability distribution if you want, but you still have to pick your data points independently from it, and use the same probability distribution to compute E-out ."

Great, that's what I wanted to know. Thanks.

 All times are GMT -7. The time now is 11:34 AM.