can any one tell me some thing how to use the lasso function
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
can any tell me some thing about the lasso function ..
0 commentaires
Réponses (2)
Sanket Mishra
le 10 Juil 2014
Modifié(e) : Sanket Mishra
le 10 Juil 2014
Lasso function provides regularized least-squares regression using lasso or elastic net algorithms. You can use below syntax to execute lasso function:
B = lasso(X,Y)
[B,FitInfo] = lasso(X,Y)
[B,FitInfo] = lasso(X,Y,Name,Value)
2 commentaires
Image Analyst
le 10 Juil 2014
I didn't know about that lasso function. I assumed he meant something like the lasso tool in Photoshop, but maybe not. The Photoshop-like tool is called imfreehand() in MATLAB. Maybe he can clarify.
chocho
le 10 Avr 2017
@ Sanket Mishra I have tried this function before and is worked well, however, the PredictorNames character vector i found is empty and instead of having the predictor names existed in x ????
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!