Whenever you're ready, walk me through how you'd approach this.
Explain the difference between Ridge and Lasso regularization. Why is L1 sparse, and which is differentiable?
State the respective penalty terms, explain the optimization geometry and coefficient behavior, and discuss how nondifferentiability at zero is handled in practice. Illustrate the distinction with a small scikit-learn comparison.