A regularization parameter, written λ (lambda), sets how strongly training penalizes model complexity relative to regression error. The training objective adds the regularization term multiplied by λ. section 4.5
Changing λ shifts the balance between predictive performance and simplicity:
- At λ = 0, the penalty disappears, leaving the unregularized regression model. section 4.5
- A large λ favors a simpler model, which may fit the dataset poorly. Use validation to help choose a suitable value. section 4.5
Try it with lasso and ridge
Given a polynomial regression model, MAE error, and λ = 0.1, determine its lasso error using the L1 norm and its ridge error using the L2 norm. section 4.8

