org.apache.mahout.math.ssvd
Class EigenSolverWrapper

java.lang.Object
  extended by 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.


Constructor Summary
EigenSolverWrapper(double[][] bbt)
           
 
Method Summary
 double[] getEigenValues()
           
 double[][] getUHat()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EigenSolverWrapper

public EigenSolverWrapper(double[][] bbt)
Method Detail

getUHat

public double[][] getUHat()

getEigenValues

public double[] getEigenValues()


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.