What is the Lambda matrix in Lasso classification in Matlab?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi. My question is about the matrix of Lambda in Matlab when we are using the Lassoglm command. As lasso classification uses a penalty term as a constraint to shrink the coefficients of some variables to zero and it is using the formulation of
I need to know: ![lasso2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208624/lasso2.png)
![lasso2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208624/lasso2.png)
- what is the values in the B matrix (B = lassoglm(X,Y))? Let's say B is a 15x100 matrix in which the 15 is the number of terms (X) and 100 is the number of Lambda?
- I also need to know what does the Lambda matrix that Matlab provides, B, represent which of the parameters in the equation above?
- can I use the Lambda matrix values, as coefficient for forming a logistic equation like
?
Thank you.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classification Ensembles에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!