Description Usage Arguments Details Value Examples
function to compute the value of low-rank penalty term, i.e. nuclear norm.
1 | nuclear_pen(x, lambda)
|
x |
x is the input m by n matrix |
lambda |
tuning parameter for nuclear norm penalty |
This function is to compute the low rank penalty via nuclear norm
a float number that represents the value of penalty.
1 2 3 | x <- matrix(stats::rnorm(20), 5, 4)
lambda <- 0.75
nuclear_pen(x, lambda)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.