powered by
returns the name of the penalty according to the alpha.
rlr_type(alpha_rlr = options_regressor("rlr.alpha"))
the penalty is defined as alpha=1 is the lasso penalty, and alpha=0 the ridge penalty.
glmnet
# NOT RUN { rlr_type(1) rlr_type(0) # }
Run the code above in your browser using DataLab