Generalization

  • TranLoss

    Overfitting

  • fit all the examples in training data

  • missing the general

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

  1. split data into train, val, test
  2. Look at data to get intuition
  3. Repeat
    1. Implement feature / tune hyperparameters
    2. Run learning algorithm
    3. Sanity check train and val error rates, weights
    4. Look at errors to brainstorm improvements
  4. Run on test set to get final error rates

Unsupervised learning