Hi List,
I have a little confused when to glmnet() vs cv.glmnet().

I know that,
glmnet(): gives the fit
cv.glment(): does the cv after the fit

I just want to get the beta coefficients after the fit, that's it!

But of all the glmnet examples I've seen, the beta coefficient is
obtained ONLY AFTER cv.glmnet().

Why is that?  Also, why is there so many more extra beta's after the fit?

Thanks,
Mike

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to