Filter löschen
Filter löschen

can any one tell me some thing how to use the lasso function

2 Ansichten (letzte 30 Tage)
Abhishek sadasivan
Abhishek sadasivan am 10 Jul. 2014
Kommentiert: chocho am 10 Apr. 2017
can any tell me some thing about the lasso function ..

Antworten (2)

Image Analyst
Image Analyst am 10 Jul. 2014
See my attached demos on imfreehand().

Sanket Mishra
Sanket Mishra am 10 Jul. 2014
Bearbeitet: Sanket Mishra am 10 Jul. 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)
Follow the instructions in the link for lasso function .
  2 Kommentare
Image Analyst
Image Analyst am 10 Jul. 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
chocho am 10 Apr. 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 ????

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Large Files and Big Data finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by