select_alpha: Selector of Alpha in Elastic Net

Description Usage Arguments

Description

Reports the minimum cross-validated error at various, user specific alphas for elastic net. Uses cv.glmnet from the glmnet package

Usage

1
select_alpha(x, y, alpha, ...)

Arguments

x

predictor matrix

y

response vector

alpha

a single value or a sequence of values $0 \leq \alpha \leq 1$

...

optional arguments passed to cv.glmnet


TysonStanley/anteo documentation built on May 9, 2019, 5:18 p.m.