ML
    advanced

    Regularization in Weight Space 3D

    algorithms.live

    Training

    Data Loss
    1.345
    Reg. Penalty
    12.500
    Total Loss
    13.845
    ||w|| Mag
    3.536

    Parameters

    2.0
    1.5
    1.2

    Display

    0.30

    Insight:

    L2 (Circle) shrinks weights proportionally (No 0 weights).

    Unconstrained Opt.
    Weights
    Path
    Constraint

    What regularisation adds

    Sequence

    Order how a penalty changes the objective.

    Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.

    1. 1Drop a step here
    2. 2Drop a step here
    3. 3Drop a step here
    4. 4Drop a step here
    5. 5Drop a step here
    5 pieces left to place

    Test your knowledge

    20 questions
    Question 1 of 20
    Score: 0

    Viewed in WEIGHT SPACE, L2 regularization constrains the weights to lie within a…

    Learn these first

    Interview Questions

    Microsoft
    Amazon
    Databricks
    Grammarly
    Cohere
    OpenAI
    Meta
    Hugging Face
    Stability AI
    Stripe
    Amazon
    PayPal

    Love this visualization?

    Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.

    100% free • No credit card required