lasso_solve: lasso_solve

Description Usage Arguments Value

Description

a Solver for the Lasso problem

Usage

1
lasso_solve(y, X, lambda = 0.01, epsilon = 1)

Arguments

y

a nx1 label vector

X

the design matrix

lambda

the weight of the penalty term in the Lasso problem

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.