[R] Elastic net

woleogunjobi at gmail.com woleogunjobi at gmail.com
Fri Dec 8 17:25:17 CET 2017


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 for ridge without using cross-validation
Thanks in advance 

Tayo 


	[[alternative HTML version deleted]]



More information about the R-help mailing list