public class SingularValueDecompositionTestUtil extends Object
Modifier and Type | Field and Description |
---|---|
static double[] |
EXPECTED_S |
static double[][] |
EXPECTED_U |
static double[][] |
EXPECTED_V |
static SparseMatrix |
matrix |
static double[][] |
VALUES |
Constructor and Description |
---|
SingularValueDecompositionTestUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
testReductionFile(MatrixFactorization reducer,
MatrixIO.Format format) |
static void |
testReductionMatrix(MatrixFactorization reducer) |
static void |
validateResults(MatrixFactorization reducer) |
public static final double[][] VALUES
public static final SparseMatrix matrix
public static final double[][] EXPECTED_U
public static final double[] EXPECTED_S
public static final double[][] EXPECTED_V
public static void testReductionFile(MatrixFactorization reducer, MatrixIO.Format format)
public static void testReductionMatrix(MatrixFactorization reducer)
public static void validateResults(MatrixFactorization reducer)
Copyright © 2012. All Rights Reserved.