powered by
An example of the output produced by fit_gen_model() on simulated data.
example_gen_model
A list with two entries:
A glmnet fit object.
A table containing the average deviance of each cross-validation fold, for each penalisation factor in fit$lambda.
The index of the regularisation penalty minimising average deviance across folds.