convertToGlmnetLambda: Convert to glmnet regularization parameter
Description
convertToGlmnetLambda
converts a prior variance
from Cyclops
into the regularization parameter lambda
.
Usage
convertToGlmnetLambda(variance, nobs)
Arguments
- variance
Prior variance
- nobs
Number of observation rows in dataset