pac learning and the vc dimension rectangle game
play

PAC Learning and The VC Dimension Rectangle Game Fix a rectangle - PowerPoint PPT Presentation

PAC Learning and The VC Dimension Rectangle Game Fix a rectangle (unknown to you): From An Introduction to Computational Learning Theory by Keanrs and Vazirani Rectangle Game Draw points from some fjxed unknown distribution: Rectangle


  1. PAC Learning and The VC Dimension

  2. Rectangle Game  Fix a rectangle (unknown to you): From An Introduction to Computational Learning Theory by Keanrs and Vazirani

  3. Rectangle Game  Draw points from some fjxed unknown distribution:

  4. Rectangle Game  You are told the points and whether they are in or out:

  5. Rectangle Game  You propose a hypothesis:

  6. Rectangle Game  Your hypothesis is tested on points drawn from the same distribution:

  7. Goal  We want an algorithm that: ◦ With high probability will choose a hypothesis that is approximately correct.

  8. Minimum Rectangle Learner:  Choose the minimum area rectangle containing all the positive points: h

  9. How Good is this? R  Derive a PAC bound:  For fjxed: h ◦ R : Rectangle ◦ D : Data Distribution ◦ ε : Test Error ◦ δ : Probability of failing ◦ m : Number of Samples

  10. Proof:  We want to show that with high probability the area below measured with respect to D is bounded by ε : < ε R h

  11. Proof:  We want to show that with high probability the area below measured with respect to D is bounded by ε : < ε/4 R h

  12. Proof:  Defjne T to be the region that contains exactly ε/4 of the mass in D sweeping down from the top of R.  p(T’) > ε/4 = p(T) IFF T’ contains T  T’ contains T IFF T’ < ε/4 none of our m samples T are from T R  What is the probability h that all samples miss T

  13. Proof:  What is the probability that all m samples miss T:  What is the probability that we miss any of the T’ < ε/4 rectangles? T R ◦ Union Bound h

  14. Union Bound A B

  15. Proof:  What is the probability that all m samples miss T:  What is the probability that = ε/4 we miss any of the rectangles: T R ◦ Union Bound h

  16. Proof:  Probability that any region has weight greater than ε/4 after m samples is at most:  If we fjx m such that: = ε/4  Than with probability 1- δ we achieve an error T R rate of at most ε h

  17. Extra Inequality  Common Inequality:  We can show:  Obtain a lower bound on the samples:

  18. VC – Dimension  Provides a measure of the complexity of a “hypothesis space” or the “power” of “learning machine”  Higher VC dimension implies the ability to represent more complex functions  The VC dimension is the maximum number of points that can be arranged so that f shatters them.  What does it mean to shatter?

  19. Defjne: Shattering  A classifjer f can shatter a set of points if and only if for all truth assignments to those points f gets zero training error  Example: f(x,b) = sign(x.x-b)

  20. Example Continued:  What is the VC Dimension of the classifjer: ◦ f(x,b) = sign(x.x-b)

  21. VC Dimension of 2D Half-Space:  Conjecture:  Easy Proof (lower Bound):

  22. VC Dimension of 2D Half-Space:  Harder Proof (Upper Bound):

  23. VC-Dim: Axis Aligned Rectangles  VC Dimension Conjecture:

  24. VC-Dim: Axis Aligned Rectangles  VC Dimension Conjecture: 4  Upper bound (more Diffjcult):

  25. General Half-Spaces in (d – dim)  What is the VC Dimension of: ◦ f(x,{w,b})=sign( w . x + b ) ◦ X in R^d  Proof (lower bound): ◦ Pick {x_1, …, x_n} (point) locations: ◦ Adversary gives assignments {y_1, …, y_n} and you choose {w_1, …, w_n} and b:

  26. Extra Space:

  27. General Half-Spaces  Proof (upper bound): VC-Dim = d+1 ◦ Observe that the last d+1 points can always be expressed as:

  28.  Proof (upper bound): VC-Dim = d+1 ◦ Observe that the last d+1 points can always be expressed as:

  29. Extra Space

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend