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

1 回表示 (過去 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 Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by