LASSO for variable selection
9 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Sahas
on 11 Jul 2024
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!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!