R/complexity.LASSO.R

Defines functions complexity.LASSO

Documented in complexity.LASSO

complexity.LASSO <- function(response, x, full.data, ...){
   require(penalized)
   prof <- profL1(response=response, penalized=x, trace=FALSE, ...)
   lambda <- prof$lambda[which.max(prof$cvl)]
   lambda
}

Try the peperr package in your browser

Any scripts or data that you put into this service are public.

peperr documentation built on May 2, 2019, 4:08 a.m.