LASSO for variable selection

조회 수: 9 (최근 30일)
Nainsi Gupta
Nainsi Gupta 2024년 7월 11일
댓글: Nainsi Gupta 2024년 7월 11일
Dear MATLAB Learners,
I am working on variable selection for process monitoring.
I have only number of process response variables for n observations. My objective is to identify which response variables are more useful with the help of variable selection method.
How can I code this? I am attaching the following attachment for your reference.

답변 (1개)

Sahas
Sahas 2024년 7월 11일
I have provided you with some MATLAB Documentation links below which will help you through the implementation of LASSO for variable selection in MATLAB R2024a.
The following MATLAB Documentation below gives the basic understanding and ways of implementing “LASSO” function in MATLAB. Kindly go through the various examples of applying the “LASSO” function with distinct “parameters” and choose the best example as per your use case.
The following MATLAB Documentation is an example to see ‘“LASSO” regularization technique in MATLAB. This example shows the working of ‘“LASSO” function and how it discards unnecessary predictors as well as a snippet for “lassoPlot” function for visualizing the regressed data.
The below documentation link lists the various techniques of “Feature Selection” in MATLAB. Kindly go through the “Embedded Type Feature Selection” table for various alternatives to ‘“LASSO”.
I hope this helps you get started!
  댓글 수: 1
Nainsi Gupta
Nainsi Gupta 2024년 7월 11일
Dear Sahas,
These documentation of lasso requires X (predictor) as well as y (response) variable. But I don't have both datasets.

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

카테고리

Help CenterFile Exchange에서 Exploration and Visualization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by