Guest User

Untitled

a guest
Nov 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. cv.fit <- cv.glmnet(x,y, family='binomial', standardize = FALSE)
  2. ind.lambda <- which(cv.fit$lambda == cv.fit$lambda.min)
  3. cv.fit$glmnet.fit$dev.ratio[ind.lambda]
Add Comment
Please, Sign In to add comment