regularization of matrix using L1 norm?
조회 수: 6 (최근 30일)
이전 댓글 표시
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
답변 (1개)
prabhat kumar sharma
2024년 2월 13일
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
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!