l1_prox_op: L1 regulatisation proximal operator

Description Usage Arguments Value Author(s)

Description

This function computes the proximal operator for L1- regularised regression (lasso) and returns the new vector.

Usage

1
l1_prox_op(params, thresh)

Arguments

params

is a vector of length equal to the total number of kmers, representing the parameters in the model

thresh

is the threshold for the proximal operator for l1 regularised regression

Value

A vector of parameters

Author(s)

Tom Mayo t.mayo@ed.ac.uk


TomMayo/kmermods documentation built on May 9, 2019, 4:53 p.m.