profile pic
⌘ '
raccourcis clavier

fancy name for the measure of size, or the cardinality of the largest sets of points that the algorithm can shatter.

definition

Let HH be a set set family and CC a set. Thus, their intersection is defined as the following set:

HC{hChH}H \cap C \coloneqq \{h \cap C \mid h \in H\}

We say that set CC is shattered by HH if HCH \cap C contains all the subsets of C, or:

HC=2C|H \cap C| = 2^{|C|}

Thus, the VC dimension DD of HH is the cardinality of the largest set that is shattered by HH.

Note that if arbitrary larget sets can be shattered, then the VC dimension is \infty