2
votes
0answers
33 views

How to report most important predictors using glmnet?

I want to find the most important predictors for a binomial dependent variable out of a set of more than 43,000 independent variables (These form the columns of my input dataset). The number of ...
1
vote
1answer
388 views

Determining which variables have been dropped using cv.glmnet in R

I have a large amount of vegetation data that has been broken down into 13 habitat classes. I am trying to determine which vegetation tends to fall into or is absent from which habitat with any sort ...
5
votes
1answer
2k views

Variable importance from GLMNET

I am looking at using the lasso as a method for selecting features and fitting a predictive model with a binary target. Below is some code I was playing with to try out the method with regularized ...