regularization of matrix using L1 norm?
3 次查看(过去 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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!