regularization of matrix using L1 norm?

6 views (last 30 days)
lohith
lohith on 29 Dec 2014
hi,
i am finding a solution for "x" in the equation AX=Y
where A is a underdetermined matrix....
when i surf through internet i got an idea about regularization using L0,L1,l2 norms in matlab.
to min the solution of Ax-y^2 using L1 norm
but i dont know how to find the solution and the command used for L1 norm in matlab...
please suggest , thanks in advance :)

Answers (1)

prabhat kumar sharma
prabhat kumar sharma on 13 Feb 2024
Hi lohith,
I understand you did not find any documentation for the L1 regularization while you find the below documentation for the L2 Regularization: https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.layer.setl2factor.html
In the Statistics and Machine Learning Toolbox, functions like lassoglm directly implement Lasso regression for linear models and generalized linear models, respectively.
I hope it helps!

Community Treasure Hunt

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

Start Hunting!