Solves efficiently the generalized LASSO problem of the form $$ \hat{\beta} = \operatorname{argmin} \frac{1}{2} || y - \beta ||_2^2 + ||D\beta||_1 $$ where \(\beta\) and \(y\) are \(m\)-dimensional vectors and \(D\) is a \((c \times m)\)-matrix where \(c \geq m\). We solve this optimization problem using an adaption of the ADMM algorithm presented in Zhu (2017).
Arguments
- Y
The \(y\) vector of length \(m\)
- W
The weight matrix \(W\) of dimensions \(m \times m\)
- m
The number of graphs
- eta1
Equals \(\lambda_1 / rho\)
- eta2
Equals \(\lambda_2 / rho\)
- a
Value added to the diagonal of \(-D'D\) so that the matrix is positive definite, see
matrix_A_inner_ADMM
in packageCVN
- rho
The ADMM's parameter
- max_iter
Maximum number of iterations
- eps
Stopping criterion. If differences are smaller than \(\epsilon\), algorithm is halted
- truncate
Values below
truncate
are set to0