Package org.carrot2.text.vsm
Class TermDocumentMatrixReducer
java.lang.Object
org.carrot2.attrs.AttrComposite
org.carrot2.text.vsm.TermDocumentMatrixReducer
- All Implemented Interfaces:
AcceptingVisitor
Reduces the dimensionality of a term-document matrix using a matrix factorization algorithm.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFactorization method.Fields inherited from class org.carrot2.attrs.AttrComposite
attributes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
reduce
(ReducedVectorSpaceModelContext context, int dimensions) Performs the reduction.Methods inherited from class org.carrot2.attrs.AttrComposite
accept
-
Field Details
-
factorizationFactory
Factorization method. The method to be used to factorize the term-document matrix and create base vectors that will give rise to cluster labels.
-
-
Constructor Details
-
TermDocumentMatrixReducer
public TermDocumentMatrixReducer()
-
-
Method Details
-
reduce
Performs the reduction.
-