🥣 Huber Loss Visualizer
A quadratic bowl near zero, straight lines far away — Delta decides exactly where they meet.
📋 How To Use This Lab
Drag the
yellow handle
— watch the error land in either the smooth
bowl
or the
linear tail
.
Drag
Delta
→
the transition point physically slides, reshaping the whole curve live.
Compare against the
dashed reference curves
— pure MSE (always a bowl) and pure L1 (always straight).
Use
Next/Previous/Auto Run
to jump between small and large error values.
error = 2.00
Huber = 1.500
Zone: Linear
◀ Previous
Next ▶
Auto Run ▶▶
↺ Reset
Delta (Threshold):
1.00
🥣 HUBIE
Drag the error point — near zero I curve gently like MSE, but past Delta I go perfectly straight like L1.
🧑🏫 PROF. TORCH
Huber Loss = 0.5·e² when |e| ≤ δ, else δ·(|e| − 0.5δ) — smooth where MSE is smooth, robust where L1 is robust.