The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Lasso or ridge regularization for least squares in LAPACK?

Open discussion regarding features, bugs, issues, vendors, etc.

Lasso or ridge regularization for least squares in LAPACK?

Postby Kadence » Thu Jul 10, 2008 5:53 am

Can one perform regularization for least squares using xgels or another routine in LAPACK, i.e. placing constraints or penalties on the solution (x) vectors in Ax=B?
Kadence
 
Posts: 15
Joined: Fri Jun 27, 2008 11:48 pm

Re: Lasso or ridge regularization for least squares in LAPACK?

Postby Kadence » Wed Aug 13, 2008 11:07 pm

Trying once more to see if this is possible.
Kadence
 
Posts: 15
Joined: Fri Jun 27, 2008 11:48 pm

Re: Lasso or ridge regularization for least squares in LAPACK?

Postby sven » Thu Aug 14, 2008 1:18 pm

I don't think that it is straightforward to do Lasso regression using LAPACK. If I understand correctly, it is a constrained least squares problem. You could use xGELS to help with simple damped regression, but you would have to use some method yourself to choose the damping parameter, lambda, in (A - lambda*I).

Sorry not to be of more help,

Sven Hammarling.
sven
 
Posts: 146
Joined: Wed Dec 22, 2004 4:28 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 8 guests