Generalization
Test set should not contain examples of train set
Approximation and estimation error
- Approximation error: how good is the hypothesis class
Estimation error: how good is the learned predictor
Strategy
dimentionality
- norm
minimize the traning set error, but don’t try it too hard - w would be too complicated
Hyperparameters
how to choose lambda and iterations times T
Don’t use test set for testing
Development cycle
- split data into train, val, test
- Look at data to get intuition
- Repeat
- Implement feature / tune hyperparameters
- Run learning algorithm
- Sanity check train and val error rates, weights
- Look at errors to brainstorm improvements
- Run on test set to get final error rates
