Description Usage Arguments Value
The beta-update step requires optimizing a convex function. This version of the update function uses R's built-it optim function to do this for us
1 | b_update2(X, y, u, z, rho)
|
X |
Covariate matrix (no column for intercept) |
y |
Vector of observations (coded in -1/1) |
u |
Current value of u vector (ADMM optimization) |
z |
Current value of z vector (ADMM optimization) |
rho |
Tuning parameter for ADMM optimization |
Vector containing updated estimate of beta vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.