Question

For the hypothesis class H defined by the following family of subsets of the real line: [r,r+ 1] U [r + 2, 0), with r e R Determine the VC-dimension

of H. Justify your answer, by giving a proof (in maxi-mum 1 page).

Fig: 1

Fig: 2

Fig: 3