Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How is #14 false? #181

Open
bbell25cmc opened this issue Oct 22, 2024 · 2 comments
Open

How is #14 false? #181

bbell25cmc opened this issue Oct 22, 2024 · 2 comments
Labels

Comments

@bbell25cmc
Copy link
Contributor

Can someone explain to me why question 14 in the quiz practice questions for wednesday is false? If MhN = 2^N, shouldn't H shatter X?

@mikeizbicki
Copy link
Owner

There is a subtle difference between "there exists" and "for all" in the definitions that this problem is getting at.

In particular, $m_{\mathcal H}=2^N$ implies that there exists at least one dataset $X$ of size $N$ that can be shattered. This does not imply that every dataset of size $N$ will be shattered, and so we cannot guarantee that $X$ will be shattered. It is in fact common to have hypothesis classes that can only shatter some datasets of a particular size.

@bbell25cmc
Copy link
Contributor Author

But since N is the N of that specific dataset, shouldn't it shatter that specific dataset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants