Stochastic Singular Value DecompositionPage edited by Dmitriy LyubimovChanges (1)
Full ContentStochastic SVD method in Mahout produces reduced rank Singular Value Decomposition output in its strict mathematical definition: A=USV'. The benefits over other methods are:
map-reduce characteristics: Potential drawbacks:
DocumentationOverview and Usage PublicationsNathan Halko's dissertation "Randomized methods for computing low-rank R simulationNon-parallel SSVD simulation in R with power iterations and PCA options. Note that this implementation is not most optimal for sequential flow solver, but it is for demonstration purposes only. Note: numerical stability of R algorithms may differ from that of Mahout's distributed version. For study of precision of Mahout's version, please refer back to Nathan's dissertation referenced above. However, try this R code to simulate a meaningful input: tests.R n<-1000 m<-2000 k<-10 qi<-1 #simulated input svalsim<-diag(k:1) usim<- qr.Q(qr(matrix(rnorm(m*k, mean=3), nrow=m,ncol=k))) vsim<- qr.Q(qr( matrix(rnorm(n*k,mean=5), nrow=n,ncol=k))) x<- usim %*% svalsim %*% t(vsim) and try to compare ssvd.svd(x) and stock svd(x) performance for the same rank k, notice the difference in the running time. Also play with power iterations (qIter) and compare accuracies of standard svd and SSVD.
Stop watching space
|
Change email notification preferences
View Online
|
View Changes
|
[CONF] Apache Mahout > Stochastic Singular Value Decomposition
Dmitriy Lyubimov (Confluence) Wed, 09 Oct 2013 11:29:12 -0700
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... confluence
- [CONF] Apache Mahout > Stochastic Singula... Dmitriy Lyubimov (Confluence)
- [CONF] Apache Mahout > Stochastic Singula... Dmitriy Lyubimov (Confluence)
- [CONF] Apache Mahout > Stochastic Singula... Dmitriy Lyubimov (Confluence)
