Skip to main content
2 of 3
added 181 characters in body
Shubham.
  • 111
  • 1
  • 1
  • 8

how to choose lambda value while working with elsaticnet package

I am using elasticnet package in R .How to choose lamba value in enet() function and how to get coef. values ..??

fit2=enet(new1,q$mariner,lambda=0.5)

Though i have randomly chosen 0.5 ....but how should I choose the correct value and also how to check the coef of the selected variables

Shubham.
  • 111
  • 1
  • 1
  • 8