As i See in ML Course a VC dimension calculation is very theoretical.
What is the VC-dimension of intervals in R?
The target function is specifieed by an interval, and labels any example positive i it lies inside that interval.
Answers:
VC-dim = 2. A set of two points can be shattered, since there's only a single block of positive examples that could lie within the interval. But no set of 3 points can be shattered, because it can not be labeled in alternating +; - ; + order.
so i'm get stuck with meaning of interval.
for example, it means {(a, b) | "a is lower than b", a,b is real number} has VC-dim = 2?
Any idea or solution would be highly appreciated.