How to use lasso regularisation function

조회 수: 1 (최근 30일)
Philip
Philip 2015년 7월 20일
댓글: Madhav Rajan 2015년 7월 22일
Why does Matlab's lasso regularisation function not return the same estimates as least-squares when lambda is set to zero?
  댓글 수: 1
Madhav Rajan
Madhav Rajan 2015년 7월 22일
I understand that you are expecting to see equivalent estimates when calling the "least squares" function and the "lasso" function with the regularization value or lambda set to 0.
Assuming that you are using MATLAB's Least square functions in the optimization toolbox, if you refer the documentation of the functions "lsqlin", "lsqnonneg" and "lasso", you will find that the "lsqlin" and "lsqnonneg" functions use a different least square formula when compared to the "lasso" function.
You can refer the following link for more information on the "lsqlin" function:
You can refer the following link for more information on the "lsqnonneg" function:
You can refer the following link for more information on the "lasso" function:
The user community might be able to help you better if you could provide the exact "lasso regularization" function and the "least square" function that you are trying to compare. It would also be helpful if you could also provide the data that you are using to compare the above functions.

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by