public class SingularValueDecompositionOctave extends AbstractSvd
classFeatures, dataClasses, scaledClassFeatures, scaledDataClasses, singularValues| Constructor and Description |
|---|
SingularValueDecompositionOctave() |
| 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 MatrixFiles
that will be processed by this MatrixFactorization algorithm. |
classFeatures, dataClasses, singularValuespublic void factorize(SparseMatrix matrix, int dimensions)
MatrixFactorizationSparseMatrix m. If m is of size
MxN, this will generate two matrices: one of size MxnumDimensions
and one of size numDimensionsxN. This method must be called
before calling dataClasses and classFeatures.public void factorize(MatrixFile mfile, int dimensions)
MatrixFactorizationMatrixFile m. If m is of size
MxN, this will generate two matrices: one of size MxnumDimensions
and one of size numDimensionsxN. This method must be called
before calling dataClasses and classFeatures.public MatrixBuilder getBuilder()
MatrixBuilder that is optimized for MatrixFiles
that will be processed by this MatrixFactorization algorithm.Copyright © 2012. All Rights Reserved.