Lasso regression coefficients interpretation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I want to built a lasso model for my data (predictors) to predict Y_MOTOR.
load('predictors.mat')
load('Y_MOTOR.mat')
[b,Stats] = lasso(predictors,Y_MOTOR,'Lambda', [0.001 0.01 0.1 1 10],'Standardize', true); % standardize the data
So b is 41x5 dimension, each column represent a value for Lambda. Some b values are 0 others are non-zero. Lets say the best model is for Lambda = 0.001, since it gives the lowest MSE. How can I rank my regression coefficients in terms of importance? How can I say, form the non-zero which are important and which are non-important, since i got some that are 4E-3 or E-4 compared to those who are 3 ou 4. Is there any metric? or should i stich with them even if they are very close to zero.
Thanks for your time.
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!