sdd(A, kmax = 100, alphamin = 0.01, lmax = 100, rhomin = 10e-20)
X
's, where A
is approximately equal to X%*%diag(D)%*%Y
D
's, where A
is approximately equal to X%*%diag(D)%*%Y
Y
's, where A
is approximately equal to X%*%diag(D)%*%Y
It is useful for image compression and for latent semantic indexing (LSI) in information retrieval.
The primary advantage of the SDD over other types of matrix approximations such as the truncated singular value decomposition (SVD) is that it typically provides a more accurate approximation for far less storage.
The package has been ported from Matlab code given on http://www.cs.umd.edu/~oleary/SDDPACK/
.
See the webpage for full documentation.
A = matrix(rnorm(100), nrow=10)
sdd(A)
Run the code above in your browser using DataLab