|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.matrix.factorization.PartialSingularValueDecompositionFactory
public class PartialSingularValueDecompositionFactory
Factory for PartialSingularValueDecompositions.
| Field Summary | |
|---|---|
protected static int |
DEFAULT_K
The default desired number of base vectors |
protected int |
k
The desired number of base vectors |
| Constructor Summary | |
|---|---|
PartialSingularValueDecompositionFactory()
Creates the factory that creates factorizations that compute the maximum number of base vectors. |
|
| Method Summary | |
|---|---|
IMatrixFactorization |
factorize(org.apache.mahout.math.matrix.DoubleMatrix2D A)
Factorizes matrix A. |
int |
getK()
Returns the number of base vectors k . |
void |
setK(int k)
Sets the number of base vectors k . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int k
protected static final int DEFAULT_K
| Constructor Detail |
|---|
public PartialSingularValueDecompositionFactory()
| Method Detail |
|---|
public IMatrixFactorization factorize(org.apache.mahout.math.matrix.DoubleMatrix2D A)
IMatrixFactorizationFactoryA.
factorize in interface IMatrixFactorizationFactoryA - matrix to be factorized.public void setK(int k)
k - the number of base vectorspublic int getK()
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||