Week 3 Lecture 1
During training, we can’t know how well the model will generalize to data outside of the training dataset. BUT we can calculate approximate bounds on the performance of the model.
(basically risk) can’t be computed, since we don’t know the distribution. the other hand CAN be calculated, although it’s accuracy depends on the used dataset. We need bounds to show how good it actually is in reality.
is just the mean of the original loss function over a given set.
How different is from ?
Markov’s Inequality
Suppose is a non-negative random variable. When, for all
X must be positive for this to work, if you can’t make sure of that, you should make modifications that keeps the probability like: (because these share the probability, now the inequality can kick in)
Extended Markov
If is monotonically increasing, such that is non-negative, then for all
Chebyshev’s Inequality
Given any random variable , and
He uses squares that keeps probability then kall in Markov to get the inequality of which then collapses to the variance by definition.
For I.I.D variables
By setting to the sample mean () of some i.i.d random variables :
Meaning that by increasing , the bound gets closer to 0, decaying at a rate
Hoeffding’s inequality
Full I.I.D. is not required, independence is sufficient here
independent (not necessarily i.i.d) random variables, with support and . Then for all
Thus:
support: interval that a random variable can take numbers from
This inequality implies:
Because we substituted and gets squared then divided by , the result is just
Where can be understood as and as . Thus this is a bound on the error of the mean. This is similar to Chebyshev’s Inequality, BUT it decays exponentially.