Whenever you're ready, walk me through how you'd approach this.
What is the exact mathematical difference between Ridge (L2) and Lasso (L1) regression regularization? Under what specific data conditions would you prefer one over the other?
Explain the objective functions, coefficient behavior, impact of correlated and irrelevant features, and how you would validate the choice in practice. Include a production-quality implementation that compares both methods using cross-validation.