# huber

Updated:

huber implements the huber loss, defined as $$x^2$$ when $$\left\lvert x\right\rvert \leq M$$ and $$2\left\lvert x\right\rvert -M$$ for $$\left\lvert x\right\rvert \geq M$$

y = huber(x,M)