I see following slides in a video on YouTube:
I ran into a doubt. VC dimension of a line that is parallel to one of axis (X or Y axis) is equal to $2$. can I tell $(-\infty, x]$ is equal to case $H1$ in the mentioned image? why not?
I see following slides in a video on YouTube:
I ran into a doubt. VC dimension of a line that is parallel to one of axis (X or Y axis) is equal to $2$. can I tell $(-\infty, x]$ is equal to case $H1$ in the mentioned image? why not?
VC dimension is about the complexity of the class of functions, and intuitively the higher the dimension is, the more complex the class of cuntions is. Here, we can show that in fact "VC dimension of a line that is parallel to one of axis" depends really a lot on the dimension, in dimension $n$, the VC dimension is $n$. Aply this to your problem, H1 in the slides is dimension 1, hence VC dimension 1 whereas when you say "parallel to one of axis (X or Y axis)" I assume you are talking about dimension 2, hence VC dimension 2.