官术网_书友最值得收藏!

Machine learning losses

The loss function or cost function in machine learning is a function that maps the values of variables onto a real number intuitively representing some cost associated with the variable values. Optimization methods are applied to minimize the loss function by changing the parameter values, which is the central theme of machine learning.

Zero-one loss is L0-1 = 1 (m <= 0); in zero-one loss, value of loss is 0 for m >= 0 whereas 1 for m < 0. The difficult part with this loss is it is not differentiable, non-convex, and also NP-hard. Hence, in order to make optimization feasible and solvable, these losses are replaced by different surrogate losses for different problems.

Surrogate losses used for machine learning in place of zero-one loss are given as follows. The zero-one loss is not differentiable, hence approximated losses are being used instead:

  • Squared loss (for regression)
  • Hinge loss (SVM)
  • Logistic/log loss (logistic regression)

Some loss functions are as follows:

主站蜘蛛池模板: 大余县| 平阳县| 衢州市| 庐江县| 慈利县| 永胜县| 锡林浩特市| 华宁县| 东乌珠穆沁旗| 贺州市| 宝坻区| 阜新| 瑞金市| 义马市| 镇平县| 义马市| 万安县| 资兴市| 咸宁市| 茌平县| 天长市| 景德镇市| 清流县| 吉林省| 绥中县| 商洛市| 临城县| 乡城县| 卢湾区| 屏山县| 崇阳县| 正定县| 华容县| 无极县| 禹州市| 若羌县| 潢川县| 曲靖市| 古交市| 上高县| 易门县|