码迷,mamicode.com
首页 > 其他好文 > 详细

Regularization

时间:2021-05-24 07:35:40      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:cti   nal   any   The   time   not   cer   orm   process   

In mathematics, statistics, finance,[1] computer science, particularly in machine learning and inverse problems, regularization is the process of adding information in order to solve an ill-posed(不适定) problem or to prevent overfitting.[2]

Regularization can be applied to objective functions in ill-posed optimization problems. The regularization term, or penalty, imposes a cost on the optimization function to make the optimal solution unique.

R2 Ridge Regression

At the time, ridge regression was the most popular technique for improving prediction accuracy. Ridge regression improves prediction error by shrinking the sum of the squares of the regression coefficients to be less than a fixed value in order to reduce overfitting, but it does not perform covariate selection and therefore does not help to make the model more interpretable.

R1 |R| Lasso Regression

Lasso achieves both of these goals by forcing the sum of the absolute value of the regression coefficients to be less than a fixed value, which forces certain coefficients to zero, effectively excluding them. This idea is similar to ridge regression, which only shrinks the size of the coefficients, without setting any of them to zero.

正则化可以解决两种类型的问题:

  • 不适定问题(Lasso Regression)
  • 防止过拟合(Ridge Regression)

Regularization

标签:cti   nal   any   The   time   not   cer   orm   process   

原文地址:https://www.cnblogs.com/qianxinn/p/14763871.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!