PAC Learnablity
Probably approximately learnable
Definition
A learning task over instance space X is PAC Learnable iff an algorithm can be found that:
For every c ∈ C, for every distribution D, for every
and for every , is such that:
where the probability is taken over the calls to
Explanation of
Let's break this ugly thing down:
1.
This is just the definition of the Learning Algorithms! (check the link)
It outputs a classifier. So we can simplify to:
2.
- It's asking if the classifier, given datapoints from distribution D and labeled by c, has an error rate less than
- It's basically checking if the classifier is good enough!
- So we can simplify to:
3.
- Checking if the probability of the classifier being good enough is more than
Sum up
A Concept Class C is PAC learnable iff an algorithm can be found that:
- For every instance from C
- For every distribution D
- For every needed error rate
- For every needed confidence rate
- With probability
outputs a good enough classifier - A classifier that when given datapoints from D labeled by C, has less than
error
- A classifier that when given datapoints from D labeled by C, has less than
- With probability
outputs a bullshit classifier - A classifier that when given datapoints from D labeled by C, has more than
error
- A classifier that when given datapoints from D labeled by C, has more than
Note
- PAC learnability is the equivalent of Uncomputability. If it CAN be learned or not.
- It says NOTHING about how much time and memory it takes to learn!
Example
The concept class of axis-parallel rectangles is PAC learnable because there exists an algorithm (
- No matter what the target rectangle is
- No matter what how you choose training data
- No matter what level of confidence you need
- No matter how accurate you want it to be
- It can learn a model that with
chance has good enough accuracy
How do we know
has these properties?
It's a theorem. :)