org.apache.mahout.math.ssvd
Class EigenSolverWrapper
java.lang.Object
org.apache.mahout.math.ssvd.EigenSolverWrapper
public class EigenSolverWrapper
- extends Object
wraps appropriate eigen solver for BBt matrix. Can be either colt or apache
commons math.
At the moment it is apache commons math which is only in mahout-math
dependencies.
I will be happy to switch this to Colt eigensolver if it is proven reliable
(i experience internal errors and unsorted singular values at some point).
But for now commons-math seems to be more reliable.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EigenSolverWrapper
public EigenSolverWrapper(double[][] bbt)
getUHat
public double[][] getUHat()
getEigenValues
public double[] getEigenValues()
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.