Description Usage Arguments Value See Also
An iterative algorithm that solves the Sparse Principal Component Analysis problem: given a positive definite matrix A:
max_{v} t(v)*A*v
subject to
||v||_2 <= 1, ||v||_1 <= s
The solution v is the sparse leading eigenvector, and the corresponding objective t(v)*A*v is the sparse leading engenvalue.
1 |
x |
p-by-p matrix, symmetric and positive definite |
sumabsv |
the upperbound of the L_1 norm of v, controling the sparsity of solution. Must be between 1 and sqrt(p). |
v |
the starting value of the algorithm. |
niter |
number of iterations to perform the iterative optimizations |
trace |
whether to print tracing info during optimization |
A list containing the following components:
v |
the sparse leading eigenvector v |
d |
the sparse leading eigenvalue d=t(v)*A*v |
v.init |
the initial value of v |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.