D2L - Chapter 3.6 Generalization
Apr 20, 2025·
·
1 min read
Haihao Sun
3.6 Generalization
- Exploring both what is known about the principles underlying generalization in various models
- Also heuristic techniques that have been found (empirically) to yield improved generalization on tasks of practical interest.
3.6.1 Training Error and Generalization Error
3.6.1.1 Model Complexity
3.6.2 Underfitting or Overfitting
- Underfitting, both error high
- Overfitting, training error low, validation error high
3.6.2.1 Polynomial Curve Fitting
3.6.2.2 Dataset Size
3.6.3 Model Selection
3.6.3.1 Cross-validation
- split into k
- train on k - 1, validate on the remaining
- average among all the errors