Description Usage Arguments Details Value Examples
View source: R/prox_sparse_func.R
proximal function of sparse component
1 | prox_sparse_func(w1, y, A, b, L, lambda, AtA, Atb)
|
w1 |
proximal vector |
y |
alternative coefficient vector |
A |
design matrix |
b |
target vector |
L |
learning rate |
lambda |
tuning parameter for sparse penalty |
AtA |
crossproduct of A |
Atb |
crossproduct of A and b |
This function is proximal function for sparse component. It returns the updated coefficient vector (matrix).
value of proximal function
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.