Description Usage Arguments Details Value Examples
compute the soft-thresholded result for the Lasso estimator
1 | shrinkage(y, tau)
|
y |
input matrix |
tau |
a float number, which stands for the threshold |
This function is to find soft-thresholded lasso estimator
the thresholded matrix with respect to y
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.