Description Usage Arguments Value See Also Examples
Finds the nearest positive semi-definite matrix with respect to the max norm
1 2 3 4 5 6 7 8 | ADMM_proj(
mat,
epsilon = 1e-04,
mu = 10,
it.max = 1000,
etol = 1e-04,
etol_distance = 1e-04
)
|
mat |
Matrix to be projected |
epsilon |
Approximation of the space of positive semi-definite matrix at epsilon |
mu |
Penalty parameter of ADMM algorithm |
it.max |
Number maximum of iterations |
etol |
Tolerance parameter for the convergence of primal and dual residual |
etol_distance |
Tolerance parameter for the convergence of the distance |
list containing
mat
Projected matrix
df_ADMM
dataframe containing parameters of the ADMM algorithm for each iteration of the algorithm
https://web.stanford.edu/~boyd/papers/pdf/admm_distr_stats.pdf
1 2 | M = matrix(-1,20,20)
mat_proj <- BDcocolasso::ADMM_proj(mat=M)$mat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.