regularization of matrix using L1 norm?
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 :)
0 Kommentare
Antworten (1)
prabhat kumar sharma
am 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.
You can find the documentation here: Lasso or elastic net regularization for generalized linear models - MATLAB lassoglm - MathWorks India
I hope it helps!
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!