slim {nestedcv}R Documentation

Slim nestedcv models

Description

Slims nestedcv objects to only the models in the outer CV folds.

Usage

slim(x)

Arguments

x

A 'nestedcv' or 'cva.glmnet' fitted model object.

Value

For 'nestedcv' objects, a list object of the same class but only containing outer_result. For 'cva.glmnet' models, only the cv.glmnet model with the best alpha value is kept. Models for all other values of alpha are discarded.

See Also

nestcv.glmnet() nestcv.train() outercv() cva.glmnet()


[Package nestedcv version 0.8.0 Index]