The Huber loss function is a loss function used in stable regression , which is less sensitive to outliers than the quadratic error.
Definition
Huber loss function (green, ) and the quadratic loss function (blue) as a function of
The Huber loss function sets a penalty for the evaluation procedure. Huber (1964) described it as a piecewise function of the form: [1]
This function is quadratic for small values of a , and linear for large values, with the same value and slope for different sections of two points where . The variable a is often considered as the remainder, i.e., as the difference between the observed and predicted value , therefore, the original definition can be extended to [2] :
Notes
- ↑ Huber, Peter J. Robust Estimation of a Location Parameter (English) // Annals of Statistics : journal. - 1964. - Vol. 53 , no. 1 . - P. 73-101 . - DOI : 10.1214 / aoms / 1177703732 .
- ↑ Hastie, Trevor. The Elements of Statistical Learning / Trevor Hastie, Robert Tibshirani, Jerome Friedman. - 2009. - P. 349. Archived copy of January 26, 2015 by Wayback Machine Compared to Hastie et al. , the loss is scaled by a factor of ½, to be consistent with Huber's original definition given earlier.