跳到主要内容

认识

2025年02月07日
柏拉文
越努力,越幸运

一、认识


Huber 损失函数

二、公式


L(y,y^)={12(yy^)2,if yy^δδ(yy^12δ),otherwiseL(y, \hat{y}) = \begin{cases} \frac{1}{2} (y - \hat{y})^2, & \text{if } |y - \hat{y}| \leq \delta \\ \delta (|y - \hat{y}| - \frac{1}{2} \delta), & \text{otherwise} \end{cases}