Exercise: Penalty Values by Hand
Prerequisites: Regularisation: L1 vs L2
Problem
For coefficients
[2, -1, 0.5], compute L1 and squared L2 penalties.Hint
Start by naming the invariant, validation split, or numerical guarantee involved. Jump to the solution when you're ready.