regularization of matrix using L1 norm?
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
prabhat kumar sharma
el 13 de Feb. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!