- Statistics for Machine Learning
- Pratap Dangeti
- 151字
- 2021-07-02 19:05:56
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:





- 劍指Offer(專項突破版):數據結構與算法名企面試題精講
- Mastering SVG
- MATLAB 2020 從入門到精通
- 微信公眾平臺開發:從零基礎到ThinkPHP5高性能框架實踐
- RESTful Java Web Services(Second Edition)
- Instant Apache Camel Messaging System
- Penetration Testing with the Bash shell
- Modular Programming with JavaScript
- Java設計模式深入研究
- Unity 5 Game Optimization
- 絕密原型檔案:看看專業產品經理的原型是什么樣
- 可視化H5頁面設計與制作:Mugeda標準教程
- 生成藝術:Processing視覺創意入門
- 熱處理常見缺陷分析與解決方案
- HTML5+jQuery Mobile移動應用開發