Feature Engineering & Regularization
Feature Engineering
Regularization
Overfitting
- Definition: The problem of overfitting is when the model captures the noise in the training data instead of the underlying structure.
Regularization
- Given objective function J(θ).
- Goal is to find: θ^=argminθJ(θ)+λr(θ).
- Key idea: Define regularizer r(θ) s.t. we tradeoff between fitting the data and keeping the model simple.
- Choose form of r(θ) based on the model complexity.
∥θ∥q=(m=1∑M∣θm∣q)q1