lasso_cd: Coefficient path (cd)

Description Usage Arguments Value

View source: R/coeff_lasso.R

Description

This function is to be used for getting co-efficient path using co-ordinate descent optimization

Usage

1
lasso_cd(lambdas, x, y, n_it = 100, wt, ...)

Arguments

lambdas

Values of the penalty term

x

Predictors

y

Response

n_it

Number of iterations. Default value 100.

wt

weights for the coefficients of weighted LASSO.

Value

The function returns the coefficient of the predictors for each lambda.


tathagatabasu/bootlasso documentation built on Aug. 9, 2019, 1:07 a.m.