sparse.svd: Computing the sparse leading left singular vector of a matrix
Description
Estimating the sparse left leading singular vector by first computing a maximiser Mhat of the convex problem
$$<Z, M> - \lambda |M|_1$$
subject to the Schatten norm constraint |M|_schatten <= 1 using alternating direction method of multipliers (ADMM). Then the leading left singular vector of Mhat is returned.
Input matrix whose left leading singular vector is to be estimated.
lambda
Regularisation parameter
schatten
Schatten norm constraint to be used. Default uses Schatten-2-norm, i.e. the Frobenius norm. Also possible to use Schatten-1-norm, the nuclear norm.
tolerance
Tolerance criterion for convergence of the ADMM algorithm. Not used when shatten=2.
max.iter
Maximum number of iteration in the ADMM algorithm. Not used when shatten=2.
Value
A vector that has the same length as nrow(Z) is returned.
Details
In case of schatten = 2, a closed-form solution for Mhat using matrix soft thresholding is possible. We use the closed-form solution instead of the ADMM algorithm to speed up the computation.