Description Usage Arguments Value Author(s)
This function computes the proximal operator for L1- regularised regression (lasso) and returns the new vector.
1 | l1_prox_op(params, thresh)
|
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 |
A vector of parameters
Tom Mayo t.mayo@ed.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.