LASSO for variable selection

11 visualizzazioni (ultimi 30 giorni)
Nainsi Gupta
Nainsi Gupta il 11 Lug 2024
Commentato: Nainsi Gupta il 11 Lug 2024
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.

Risposte (1)

Sahas
Sahas il 11 Lug 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!
  1 Commento
Nainsi Gupta
Nainsi Gupta il 11 Lug 2024
Dear Sahas,
These documentation of lasso requires X (predictor) as well as y (response) variable. But I don't have both datasets.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by