public class SingularValueDecompositionMatlab extends AbstractSvd
classFeatures, dataClasses, scaledClassFeatures, scaledDataClasses, singularValues
Constructor and Description |
---|
SingularValueDecompositionMatlab() |
Modifier and Type | Method and Description |
---|---|
void |
factorize(MatrixFile mfile,
int dimensions)
Factorizes the
MatrixFile m . |
void |
factorize(SparseMatrix matrix,
int dimensions)
Factorizes the
SparseMatrix m . |
MatrixBuilder |
getBuilder()
Returns a
MatrixBuilder that is optimized for MatrixFile s
that will be processed by this MatrixFactorization algorithm. |
classFeatures, dataClasses, singularValues
public void factorize(SparseMatrix matrix, int dimensions)
MatrixFactorization
SparseMatrix
m
. If m
is of size
MxN, this will generate two matrices: one of size MxnumDimensions
and one of size numDimensions
xN. This method must be called
before calling dataClasses
and classFeatures
.public void factorize(MatrixFile mfile, int dimensions)
MatrixFactorization
MatrixFile
m
. If m
is of size
MxN, this will generate two matrices: one of size MxnumDimensions
and one of size numDimensions
xN. This method must be called
before calling dataClasses
and classFeatures
.public MatrixBuilder getBuilder()
MatrixBuilder
that is optimized for MatrixFile
s
that will be processed by this MatrixFactorization
algorithm.Copyright © 2012. All Rights Reserved.