Jihong Zhang's website
Jihong Zhang's website
About Me
Posts
Experience
Publications
Contact
Light
Dark
Automatic
glmnet
Lasso Regression Example using glmnet package in R
More details please refer to the link below: (https://web.stanford.edu/~hastie/glmnet/glmnet_alpha.html#lin) This post shows how to use glmnet package to fit lasso regression and how to visualize the output. The description of data is shown in here.
Last updated on May 2, 2022
4 min read
R
,
Manual
Cite
×