Closed GoogleCodeExporter closed 8 years ago
It looks like we hadn't accounted for the fact that JAMA returns all the
singular
values, rather than just the number of dimensions. The returned matrix is
correct,
but contains too many dimensions.
From what I can tell JAMA doesn't have support for calculating just the k
largest, so
the solution is the take the current output matrices and resize them to the
correct
number of dimensions.
The root cause fix should probably be to find another suitable all-java way of
computing the SVD. JAMA cannot scale like the other algorithms (since it
computes
all of the singular values). At the very least, we need to document the various
scalability issues on the Wiki.
Original comment by David.Ju...@gmail.com
on 17 Jun 2009 at 4:40
Ok, we now manually truncate JAMA's SVD output so the matrices have the expected
dimensionality.
Original comment by David.Ju...@gmail.com
on 18 Jun 2009 at 1:22
Thanks for the quick fix! I suspected that cropping of matrices will be needed.
Doing
an update...
Original comment by andrejs....@gmail.com
on 18 Jun 2009 at 11:43
Original issue reported on code.google.com by
andrejs....@gmail.com
on 17 Jun 2009 at 11:06