ElasLogistic: Elastic-net logistic regression for a given lambda.
Description
This function makes predictions for elastic-net logistic for a given value of lambda.
Typical usage is to have the CV.ElasLogistic function compute the optimal lambda, then provide it to
the ElasLogistic function.
the elasticnet mixing parameter, with \(0 \le \alpha \le 1\). alpha=1 is the lasso penalty, and alpha=0 the ridge penalty.
alpha.i
by default, the program use the lasso for choosing initial values of
the coefficient vector. alpha.i is the elastic-net mixing parameter, with \(0 \le alpha.i \le 1\). alpha.i=1 is the
lasso penalty, and alpha.i=0 the ridge penalty. If assign alpha.i to be -1, program will use zero
as initial coefficients.