Chapter5 Regularization Summary Final
Chapter5 Regularization Summary Final
Underfitting Overfitting
1
When does underfitting happen?
A model generates a high error on the training set & unseen data
2
The inability of the model to understand
complexity of data: bias
3
When does overfitting happen?
The training data is very specific and has too many features
4
The sensitivity of a model to a specific
dataset: variance
5
The aims is to achieve a good balance
between the bias and the variance
6
The trade-off between bias and variance
• As variance increases
bias decreases
• As bias increases
variance decreases
7
How can we solve overfitting and
underfitting?
8
We can use regularization to reduce
complexity
9
Regularization uses loss functions:
L1 and L2
L1 L2
10