The personal reason of VC dimension meaningSolution
Regarding the VC dimension can be seen in many theories of machine learning, it is an important concept. In reading the "neural network principle" when an example is not very clear, through this period of time to watch Stanford machine learning public classes and related supplementary materials, but also refer to some network information (mainly this , but the personal feeling still did not grasp the focus), rethink a bit, Finally understood the idea that the definition should convey.
First, we introduce the concept of dispersion (shatter): For a given set s={x1, ..., xd}, if a hypothetical class H can implement any one of the elements in the set S, it is said that H can disperse s.
Then there is the definition of VC dimension: The VC dimension of H is expressed as VC (h), which refers to the size of the largest set that can be dispersed by H. If H can disperse a set of any size, then VC (h) is infinite. There is another mark in the Theory of neural networks: for the two-part total F, its VC-dimensional writing Vcdim (f).
Typically, a two-dimensional linear classifier is used to illustrate why its VC dimension is 3 and not the set of 4 samples, which is where confusion is likely to occur. This is explained below.
For three sample points, all of the following S1 are labeled using a linear classifier, so the VC dimension is at least 3 (the picture comes from the Stanford machine learning public class Materials,cs229-notes4.pdf):
Although there is a S2 in the following case, one of the marking methods cannot be categorized by a linear classifier (the picture is from the Stanford Machine learning public class materials,cs229-notes4.pdf)
This is not the case, however, because, in the previous S1, our h={two-dimensional linear classifier} can classify all of its possible labeling conditions, which are not related to the S2 of H dispersion.
In the case of 4 sample points, our H cannot achieve all of its possible labeling conditions (this is proven, the process is unknown) such as one of the s and one of the label allocation situation:
As can be seen, the VC dimension of h={two-dimensional linear classifier} is 3.
As can be seen from this interpretation process, the premise of understanding the definition of VC dimension is to understand the definition of dispersion first. the set S in the dispersion are selected beforehand, and the VC dimension is the largest of the cardinality (i.e. the number of samples here) that can be dispersed in the set. Therefore, when VC (H) =3, it may also exist s ', | S ' |=3 but not dispersed by H, and for arbitrarily given S ", | S "|=4,h cannot disperse all of its possible label distribution methods. here the so-called "given beforehand" can be regarded as its point in the plane position has been fixed, but the category is undecided (that is, may be any kind of label allocation).
Five Mountains
Source: http://www.cnblogs.com/wuyuegb2312
The title is not labeled as "reprint" of the article are original, its copyright belongs to the author, welcome to reprint, but without the consent of the author must retain this paragraph statement, and in the article page obvious location to the original link, otherwise reserves the right to pursue legal responsibility.
VC Dimension Meaning