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

조회 수: 4 (최근 30일)
Abhishek sadasivan
Abhishek sadasivan 2014년 7월 10일
댓글: chocho 2017년 4월 10일
can any tell me some thing about the lasso function ..

답변 (2개)

Image Analyst
Image Analyst 2014년 7월 10일
See my attached demos on imfreehand().

Sanket Mishra
Sanket Mishra 2014년 7월 10일
편집: Sanket Mishra 2014년 7월 10일
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
Image Analyst
Image Analyst 2014년 7월 10일
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 2017년 4월 10일
@ 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 ????

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by