—
Compare L1 and L2 solutions
Tutor me on https://mlprep.iwase.dev/item/ml-screen-optimization-standard-l1-l2/. This is a screening item. If window.mlPrepAgent is available, read attempts for item ml-screen-optimization-standard-l1-l2 before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Problem
Minimize
Find both minimizers and explain their shrinkage behavior.
Reveal answer or reference solution
For , the derivative in the positive region is , which gives ; the subgradient condition confirms the global minimum. For , , giving . Both objectives are convex. soft-thresholding can produce exact zeros; gives smooth proportional shrinkage and usually does not produce exact zeros.
Previous attempts
Loading attempts saved in this browser…