elasticNet_solve: elasticNet_solve

Description Usage Arguments Value

Description

a Solver for the ElasticNet problem

Usage

1
elasticNet_solve(y, X, lambda = 0.01, alpha = 0.5, epsilon = 1)

Arguments

y

a nx1 label vector

X

the design matrix

lambda

the weight of the overall penalty term

alpha

the relative weigth given to the L1 (Lasso) penalty

epsilon

the smallest change in penalised RSS that defines convergence

Value

a px1 vector of betas


vviers/DIYLassoElasticNet documentation built on May 30, 2019, 12:49 p.m.