get_grad_f | R Documentation |
Calculate the gradient for one step
get_grad_f(X, Y, W, C, mu)
X |
The data matrix. |
Y |
The matrix of regression responses. |
C |
The L1 penalization matrix, returned by |
mu |
The smoothing parameter. |
B |
The J x K regression coefficient estimates. |
The gradient descent direction for B, given the current estimates. See equation (11) in the reference.
Smoothing Proximal Gradient Method for General Structured Sparse Regressoin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.