The choice of norm determines the shape of your regularization constraint. L1 (Manhattan) norm creates a diamond-shaped unit ball and promotes sparsity - coefficients can be exactly zero. L2 (Euclidean) creates a sphere - coefficients shrink uniformly. L∞ creates a cube. This visualization shows all four simultaneously, making the geometry of regularization concrete.
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.