Dear R users,
I am using "Glmnet" package in R for applying "elastic
net" method. In elastic net, two penalities are applied one is lambda1 for
LASSO and lambda2 for ridge ( zou, 2005) penalty. How can I write the code to
pre-chose the lambda1 for LASSO and lambda2 fo
It estimates the model for every value of the L1 parameter. See
?predict.enet. When you predict, you have to specify the other
parameter (which you can do a variety of ways).
Max
On Tue, Aug 25, 2009 at 8:54 AM, Alex Roy wrote:
> Dear R users,
> I am using "enet" package in
Dear R users,
I am using "enet" package in R for applying "elastic
net" method. In elastic net, two penalities are applied one is lambda1 for
LASSO and lambda2 for ridge ( zou, 2005) penalty. But while running the
analysis, I realised tht, I optimised only one lambda. ( eve
Dear Members,
I am working on Elastic net and using R package for that. I
have two matrix. My response is a matrix of size 50X50 and predictor is also
in same
size. I want to extract only cloumns from the matrix and do the elastic net
analysis then store them as a matrix.
library(ela
4 matches
Mail list logo