question on the lasso example in matlab documentation
Mostra commenti meno recenti
In the Lasso documentation page here: https://www.mathworks.com/help/stats/lasso.html
Construct the default lasso fit.
B = lasso(X,y);
Find the coefficient vector for the 25th Lambda value in B.
B(:,25)
Is there any particular reason why the 25th lambda value in B was chosen? I don't understand this part. Thanks
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Linear Regression in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!